You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compile time makes packaging (especially for cross-compiled builds) much easier.
That being said upstream Clap is aggressively moving away from allowing compile time completion generation. I'm hoping they don't completely eliminate the possibility but to date that's the direction they're headed (on the grounds that it makes easier for people who do ad-hoc cargo install to keep their shell completions matching the version they have installed by making them put the runtime generation command in their shell RC files).
Personally I use the runtime generated completions for most of the tools these days.
Do you install "most of the tools" from your distro package manager or do you side-load them yourself with cargo install or other similar userspace tooling?
Use https://docs.rs/clap_generate/3.0.0-beta.4/clap_generate/ to allow command line completion scripts to be generated for people who may want them.
The text was updated successfully, but these errors were encountered: