explain

For debug.

Explain closure contents.

Command Type

built-in

Signature

> explain {flags} (closure)

Parameters

  • closure: The closure to run.

Input/output types:

input output
any any
nothing any

Examples

Explain a command within a closure.

> explain {|| ls | sort-by name type --ignore-case | get name } | table --expand

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.