cli11, bsd manual
This commit is contained in:
parent
9c7c528a0c
commit
18c97eacd0
7 changed files with 534 additions and 117 deletions
|
|
@ -15,9 +15,12 @@ Generate completions for a single command:
|
|||
# From a manpage
|
||||
inshellah manpage /usr/share/man/man1/git.1.gz > git.nu
|
||||
|
||||
# From --help output
|
||||
# From --help output (recursively resolves subcommands)
|
||||
inshellah help rg > rg.nu
|
||||
|
||||
# Without recursive resolution (for on-demand / runtime caching)
|
||||
inshellah help --iterative rg > rg.nu
|
||||
|
||||
# Pipe --help text directly
|
||||
curl --help | inshellah parse-help curl > curl.nu
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue