# SPDX-License-Identifier: BSD-2-Clause # Copyright (c) 2024 Phil Thompson from ..abstract_project import AbstractProject from ..exceptions import handle_exception def main(): """ Install the project from the command line. """ try: project = AbstractProject.bootstrap('install', "Build and install the project.") project.install() project.progress("The project has been installed.") except Exception as e: handle_exception(e) return 0 if __name__ == '__main__': import sys sys.exit(main())