leptos-rs / cargo-leptos

Build tool for Leptos (Rust)
MIT License
314 stars 87 forks source link

Add bin args for `watch` and `serve` commands #246

Closed jmjoy closed 2 months ago

jmjoy commented 3 months ago

For #245

So we can pass command line arguments to bin, such as cargo leptos watch -v -- --foo.

benwis commented 3 months ago

LGTM, although I'm not sure what the use case is

zakstucke commented 2 months ago

@benwis for me this is useful to pass server config args processed with clap, I often find them more ergonomic than env vars!

Would be great if this could get merged, currently using this fork :)