mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
23 lines
319 B
Markdown
23 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]
|
|
```
|