☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Bokeh Serve - Receive Arguments from the Command Line

Community Support
mada0304
mada0304

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”

⌁   Link to post
Luke_Canavan1
Luke_Canavan1

Passing application arguments via the bokeh serve command was just merged in this PR (support --args to pass command line args to bokeh apps by bryevdv · Pull Request #4010 · bokeh/bokeh · GitHub) 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, mqda...@gmail.com 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”

⌁   Link to post

End of archived discussion · Replies are disabled