Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
Add clap for parsing cli args
Draft did:key:z6MkqRSj...ghpk opened 2 years ago

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

did:key:z6MkqRSj...ghpk opened with revision 0866819a on base 54aacc96 +730 -470 2 years ago

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

fintohaps pushed revision 2 31f6309a on base 064ece32 +851 -482 1 year ago

Changes:

  • Pin Nix back to release
  • WIP adding zsh completion to flake.nix
  • Some clean up
fintohaps pushed revision 3 391d2721 on base 064ece32 +919 -534 1 year ago

Changes:

  • reorganise args and commands into a module
fintohaps pushed revision 4 80b01629 on base 064ece32 +919 -479 1 year ago

Changes:

  • Clean up on state transition argument
  • Show off the power of forcing documentation to ensure all fields are documented for the help output
did:key:z6MkwcUR...q1kL commented on revision 1 8 months ago

Unfortunately, this cannot be rebased to latest master.

did:key:z6MkwcUR...q1kL commented on revision 4 8 months ago

Meh, I mean to comment on this revision. This cannot be rebased on latest master without resolving conflicts anymore, sadly.

lorenz pushed revision 5 6aef9c73 on base 01bed73a +895 -495 8 months ago

Rebase. Does not require icetan’s fork anymore.

did:key:z6MkwcUR...q1kL pushed revision 6 b58ccaba on base 01bed73a +896 -495 8 months ago

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 Commands enum to Command, 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)!

lorenz pushed revision 7 c0dcf6b4 on base 01bed73a +896 -495 8 months ago

Squash in Matthias’ improvements. Thanks!

lorenz pushed revision 8 48e2bcf0 on base 55cdd880 +894 -396 8 months ago

Rebase

did:key:z6MkwcUR...q1kL pushed revision 9 6a1599d3 on base 55cdd880 +1335 -1129 7 months ago

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.

lorenz pushed revision 10 377bce2a on base 646d4360 +1332 -1125 7 months ago

Rebase