Skip to content

Commit bf57983

Browse files
Tyarel8Ecorous
andauthored
add custom help command information (#2015)
* add custom help to docs * specify -> create Co-authored-by: Ecorous <[email protected]> --------- Co-authored-by: Ecorous <[email protected]>
1 parent 82b7830 commit bf57983

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cookbook/help.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,9 @@ help http get
5353
# => http get content from example.com, with custom header
5454
# => > http get -H [my-header-key my-header-value] https://www.example.com
5555
```
56+
57+
### Custom help command
58+
If you want to change the `help` output, you can create your own custom command named `help` and it will also be used for all `--help` invocations. An example of this is in the standard library.
59+
```nu
60+
use std/help
61+
```

0 commit comments

Comments
 (0)