forked from extern/nushell
24 lines
319 B
Markdown
24 lines
319 B
Markdown
---
|
|
title: extern
|
|
layout: command
|
|
version: 0.59.1
|
|
---
|
|
|
|
Define a signature for an external command
|
|
|
|
## Signature
|
|
|
|
```> extern (def_name) (params)```
|
|
|
|
## Parameters
|
|
|
|
- `def_name`: definition name
|
|
- `params`: parameters
|
|
|
|
## Examples
|
|
|
|
Write a signature for an external command
|
|
```shell
|
|
> extern echo [text: string]
|
|
```
|