kellpossible / cargo-i18n

A Rust Cargo sub-command and libraries to extract and build localization resources to embed in your application/library
MIT License
121 stars 25 forks source link

Command line completions #72

Open kellpossible opened 3 years ago

kellpossible commented 3 years ago

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.

mrtryhard commented 2 weeks ago

Do you want them generated at compile-time in a specific output directory or do you want them output with a command i.e.

$ cli --completions bash
# bash script is output