widgetti / solara

A Pure Python, React-style Framework for Scaling Your Jupyter and Web Apps
https://solara.dev
MIT License
1.62k stars 105 forks source link

fix: do no parse -- and subsequent arguments on the command line #558

Closed maartenbreddels closed 2 months ago

maartenbreddels commented 2 months ago

This allows a user to pass custom args that can be parsed in the application.

click does not seem to support this: https://github.com/pallets/click/issues/619

But it is easy to work around by passing the args ourselves after removing the -- and subsequent args.

maartenbreddels commented 2 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @maartenbreddels and the rest of your teammates on Graphite Graphite

kdheepak commented 2 months ago

I just tested it and it works great!