Spec-Zone.ru › Nushell

nu-highlight for strings

Syntax highlight the input string.

Signature

> nu-highlight {flags}

Flags

  • --reject-garbage, -r: Return an error if invalid syntax (garbage) was encountered.

Input/output types:

input output
string string

Examples

Describe the type of a string

> 'let x = 3' | nu-highlight

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

Spec-Zone.ru

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