view span
for debug> view span {flags} (start) (end)
start
: start of the spanend
: end of the spaninput | output |
---|---|
nothing | string |
View the source of a span. 1 and 2 are just example values. Use the return of debug -r to get the actual values
>some|pipeline|or|variable|debug-r;viewspan12
This command is meant for debugging purposes. It allows you to view the contents of nushell spans. One way to get spans is to pipe something into 'debug --raw'. Then you can use the Span { start, end } values as the start and end values for this command.
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/view_span.html