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