mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
300 B
300 B
title | layout | version |
---|---|---|
export | command | 0.59.1 |
Export custom commands or environment variables from a module.
Signature
> export
Examples
Export a definition from a module
> module utils { export def my-command [] { "hello" } }; use utils my-command; my-command