forked from extern/nushell
f3626f7c3a
* Update docs for open and decode command, regenerate all docs * Update open.rs * Update open.md Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
467 B
467 B
title | layout | version |
---|---|---|
default | command | 0.59.1 |
Sets a default row's column if missing.
Signature
> default (default value) (column name)
Parameters
default value
: the value to use as a defaultcolumn name
: the name of the column
Examples
Give a default 'target' column to all file entries
> ls -la | default 'nothing' target
Default the $nothing
value in a list
> [1, 2, $nothing, 4] | default 3