alexcrichton opened PR #9312 from alexcrichton:completion-subcommand
to bytecodealliance:main
:
This commit adds a new subcommand to the
wasmtime
CLI which can be used to generate shell completions for thewasmtime
version that is installed. This is relatively easy to do with theclap_complete
crate which is also used with various other clap-based CLIs in Rust to generate completions.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested wasmtime-core-reviewers for a review on PR #9312.
alexcrichton requested wasmtime-default-reviewers for a review on PR #9312.
alexcrichton requested elliottt for a review on PR #9312.
alexcrichton updated PR #9312.
elliottt submitted PR review:
Nice!
alexcrichton merged PR #9312.
Last updated: Nov 22 2024 at 16:03 UTC