diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-21 23:50:43 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-21 23:50:43 +0900 |
| commit | b5af594fec7da72b15c9a202c641af0494db6355 (patch) | |
| tree | 21f71831c8c638d14c538aebda93015e3bc484ae /Cargo.lock | |
| parent | 00dee137280be358ab9b40c6cff9af6efba1f17d (diff) | |
| download | php-mozart-b5af594fec7da72b15c9a202c641af0494db6355.tar.gz php-mozart-b5af594fec7da72b15c9a202c641af0494db6355.tar.zst php-mozart-b5af594fec7da72b15c9a202c641af0494db6355.zip | |
feat(completion): add shell completion generation via clap_complete
Add a `completion` subcommand that generates shell completion scripts
for Bash, Zsh, Fish, Elvish, and PowerShell using the clap_complete
crate.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -247,6 +247,15 @@ dependencies = [ ] [[package]] +name = "clap_complete" +version = "4.5.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c757a3b7e39161a4e56f9365141ada2a6c915a8622c408ab6bb4b5d047371031" +dependencies = [ + "clap", +] + +[[package]] name = "clap_derive" version = "4.5.55" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1021,6 +1030,7 @@ dependencies = [ "assert_cmd", "bzip2", "clap", + "clap_complete", "colored", "dialoguer", "filetime", |
