nushell/docs/commands/extern.md

319 B

title layout version
extern command 0.59.0

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

> extern echo [text: string]