Spec-Zone.ru › Nushell

export extern for core

Define an extern and export it from a module.

Signature

> export extern {flags} (def_name) (params)

Parameters

  • def_name: The name of the external command signature to define and export.
  • params: The parameters for the external command signature.

Input/output types:

input output
nothing nothing

Examples

Export the signature for an external command.

> export extern echo [text: string]

Notes

This command is a parser keyword. For details, check: https://www.nushell.sh/book/thinking_in_nu.html

Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/export_extern.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API