[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
This commit is contained in:
montezdesousa
2024-04-30 13:42:31 +01:00
committed by GitHub
parent 5f4ee56979
commit cc15a770da
51 changed files with 162 additions and 221 deletions

20
cli/openbb_cli/cli.py Normal file
View File

@@ -0,0 +1,20 @@
"""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()