feat(clap_complete): add completion subcommand
Add clap_complete
feature to duniter
.
It takes the form of a new subcommand namely completion
as follow:
USAGE:
duniter completion --generator <GENERATOR>
OPTIONS:
-g, --generator <GENERATOR> [possible values: bash, elvish, fish, powershell, zsh]
-h, --help Print help information
-V, --version Print version information
This merge request is related to #37 (closed).
Merge request reports
Activity
requested review from @librelois
- Resolved by Éloïs
added 16 commits
-
1e085b0c...9de9e8d3 - 15 commits from branch
master
- e3474ab2 - feat(clap_complete): add completion subcommand
-
1e085b0c...9de9e8d3 - 15 commits from branch
added 1 commit
- 5056adda - feat(clap_complete): add completion subcommand
requested review from @tuxmain and removed review request for @librelois
@PacoVelobs looks good to me, thanks for your contribution
cc @tuxmain for a second review
Edited by Éloïs@PacoVelobs I agree with @tuxmain , can you add a basic usage example please?
added 2 commits
I added some more usage information.
Unfortunately, I only ever used
bash
so I can only talk about what I know. I remember reading aboutzsh
and itscompinit
built-in function but I'd rather not write some false information about it.The shell lines of the documentation have been tested.
added 1 commit
- 9729a2a9 - feat(clap_complete): add completion subcommand
added 4 commits
-
9729a2a9...3ec39fd5 - 3 commits from branch
master
- 5b89ed8f - feat(clap_complete): add completion subcommand
-
9729a2a9...3ec39fd5 - 3 commits from branch
enabled an automatic merge when the pipeline for 5b89ed8f succeeds
- Resolved by Éloïs
Thanks you @PacoVelobs, I'll rebase and merge