mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-06 17:31:53 +00:00
[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:
20
cli/openbb_cli/cli.py
Normal file
20
cli/openbb_cli/cli.py
Normal 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()
|
||||
Reference in New Issue
Block a user