How can I create a command line tool that creates a plot using plotly and opens it in your browser?

One approach is to use typer to create the command line tool and use plotly to create the plot with the auto_open (in browser) option set to True.

Sample code here.

· typer, pyton, cli, plotly, browser, www, html