Bokeh Serve - Receive Arguments from the Command Line

Is there a way to enable parsing the arguments input from the command line?
I am using bokeh serve and wanted to run different programs based on command line input…

An example would be something like:

bokeh serve --show plot.py “bar”/“line”

Passing application arguments via the bokeh serve command was just merged in this PR (https://github.com/bokeh/bokeh/pull/4010) and will be included in the next developmental build (0.12.0dev3), coming out today.

lukec

···

On Wednesday, March 30, 2016 at 6:22:54 PM UTC-5, [email protected] wrote:

Is there a way to enable parsing the arguments input from the command line?
I am using bokeh serve and wanted to run different programs based on command line input…

An example would be something like:

bokeh serve --show plot.py “bar”/“line”