Files
OpenBB/cli
John Seong 86ec79d75f [BugFix] CLI parser splits comma-separated flag values into separate args (#7420)
* 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>
2026-03-22 20:00:08 +00:00
..
2026-03-10 15:26:45 +00:00

OpenBB Platform CLI

Downloads LatestRelease

OpenBB is committed to build the future of investment research by focusing on an open source infrastructure accessible to everyone, everywhere.
OpenBBLogo
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:

image

Documentation

View the user documentation for this package here