debug: add mangen + nix: add completion/manpages to output #100
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sorry, I didn't open an issue for this one. It started with a quick Nix fix and evolved. Let me know if you'd prefer it split, etc.
This:
clap_mangen
to cargojj debug mangen
subcommandclap_mangen
suggest possibly using in a build task, but I prefer, and wanted to match, the internal debug command pattern already used for completions.To be honest, I don't know what is normally done to install manpages, hence the lack of README change. Mine just works via nixos/home-manager.
demo: https://asciinema.org/a/zyx09Y2SWz6FuEihbUupl5TP1
man jj
showing the manpagejj <tab>
showing completionsjj status <tab>
showing arg completions(demo created by utilizing my existing configuration, then
sudo nixos-rebuild ~/code/nixcfg#porty --override-input jj ~/code/jj
, and then just ran zellij in asciinema)