Files
OpenBB/cli/openbb_cli/cli.py
montezdesousa cc15a770da [Feature] - Rename terminal folder (#6349)
* rename terminal folder

* docstring

* Rename to openbb_cli

* rename constant

* rename .his file

* pyproject.toml

* Update pre-commit and remove docker-build.yml
2024-04-30 12:42:31 +00:00

21 lines
377 B
Python

"""OpenBB Platform CLI entry point."""
import sys
from openbb_cli.config.setup import bootstrap
from openbb_cli.controllers.cli_controller import launch
def main():
"""Use the main entry point for the OpenBB CLI."""
bootstrap()
dev = "--dev" in sys.argv[1:]
debug = "--debug" in sys.argv[1:]
launch(dev, debug)
if __name__ == "__main__":
main()