mirror of
https://github.com/nushell/nushell.git
synced 2025-08-16 13:51:01 +02:00
@ -9,3 +9,10 @@ Export custom commands or environment variables from a module.
|
||||
## Signature
|
||||
|
||||
```> export ```
|
||||
|
||||
## Examples
|
||||
|
||||
Export a definition from a module
|
||||
```shell
|
||||
> module utils { export def my-command [] { "hello" } }; use utils my-command; my-command
|
||||
```
|
||||
|
Reference in New Issue
Block a user