mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 17:25:15 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
18
docs/commands/export_def.md
Normal file
18
docs/commands/export_def.md
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
title: export def
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
Define a custom command and export it from a module
|
||||
|
||||
## Signature
|
||||
|
||||
```> export def (name) (params) (block)```
|
||||
|
||||
## Parameters
|
||||
|
||||
- `name`: definition name
|
||||
- `params`: parameters
|
||||
- `block`: body of the definition
|
||||
|
Reference in New Issue
Block a user