mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 17:25:15 +02:00
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
This commit is contained in:
@ -16,3 +16,9 @@ Define a custom command and export it from a module
|
||||
- `params`: parameters
|
||||
- `block`: body of the definition
|
||||
|
||||
## Examples
|
||||
|
||||
Define a custom command in a module and call it
|
||||
```shell
|
||||
> module spam { export def foo [] { "foo" } }; use spam foo; foo
|
||||
```
|
||||
|
Reference in New Issue
Block a user