mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-05-07 22:40:49 +08:00
* fix: preserve comma-separated values for flagged CLI arguments The CLI argument parser was splitting all comma-separated values into separate positional args before argparse could process them. This caused multi-symbol queries like --symbol AAPL,MSFT,GOOGL to fail with 'args couldn't be interpreted' for all symbols after the first. Flag values are now identified by checking whether the preceding token is a known option string with nargs != 0, and their commas are preserved so the provider receives the original comma-separated string. * test: add coverage for comma-split fix in parse_known_args_and_warn --------- Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
OpenBB Platform CLI
| OpenBB is committed to build the future of investment research by focusing on an open source infrastructure accessible to everyone, everywhere. |
|---|
![]() |
| Check our website at openbb.co |
Overview
The OpenBB Platform CLI is a command line interface that wraps OpenBB Platform.
It offers a convenient way to interact with the OpenBB Platform and its extensions, as well as automated data collection via OpenBB Routine Scripts.
Find the most complete documentation, examples, and usage guides for the OpenBB Platform CLI here.
Installation
The command below provides access to all the available OpenBB extensions behind the OpenBB Platform, find the complete list here.
pip install openbb-cli
Note: Find the most complete installation hints and tips here.
After the installation is complete, you can deploy the OpenBB Platform CLI by running the following command:
openbb
Which should result in the following output:
Documentation
View the user documentation for this package here
