Spec-Zone.ru › Nushell

attr complete external for core

Attribute for enabling use of the external completer for internal commands.

Signature

> attr complete external {flags}

Input/output types:

input output
nothing nothing

Examples

Use the external completer for a wrapper command.

> @complete external
def --wrapped jc [...args] {
    ^jc ...$args | from json
}

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

Spec-Zone.ru

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