Refactored the issue command using clap
Set clap help_template
cli: issue command shouldn’t ask for passphrase on read-only operations
cli: remove cli.rs and set default value for issue list –assigned
cli: Add completion stubs for bash/zsh/fish
Point clap fork dep to github.com/icetan instead of local path
Bump nixpkgs to support latest version of clap
Refactored the issue command using clap
Set clap help_template
cli: issue command shouldn’t ask for passphrase on read-only operations
cli: remove cli.rs and set default value for issue list –assigned
cli: Add completion stubs for bash/zsh/fish
Point clap fork dep to github.com/icetan instead of local path
Bump nixpkgs to support latest version of clap
Changes:
- Pin Nix back to release
- WIP adding zsh completion to flake.nix
- Some clean up
Changes:
- reorganise args and commands into a module
Changes:
- Clean up on state transition argument
- Show off the power of forcing documentation to ensure all fields are documented for the help output
Unfortunately, this cannot be rebased to latest master.
Meh, I mean to comment on this revision. This cannot be rebased on latest master without resolving conflicts anymore, sadly.
Rebase. Does not require icetan’s fork anymore.
Here are some changes to the clap proposal.
I used git commit --fixup for the smaller stuff and properly committed bigger changes.
The fixup commits are:
- I rewrote a comment to be more accurate
- I renamed the
Commandsenum toCommand, because that’s only ever one, not multiple
Feel free to squash them away or, if you want them to be individual commits (be my guest!) rewrite their commit message (or order me to do it)!
Squash in Matthias’ improvements. Thanks!
Rebase
Some changes for converting the rad patch command to clap
Right now this is in-flight. It does not even compile. But I am out of brain-power now, so this will not be continued right now.
I am publishing this in the state it is, though, so that it is visible that I am working on it, so we do not duplicate work here.
Rebase