mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
23 lines
376 B
Markdown
23 lines
376 B
Markdown
---
|
|
title: default
|
|
layout: command
|
|
version: 0.59.1
|
|
---
|
|
|
|
Sets a default row's column if missing.
|
|
|
|
## Signature
|
|
|
|
```> default (column name) (column value)```
|
|
|
|
## Parameters
|
|
|
|
- `column name`: the name of the column
|
|
- `column value`: the value of the column to default
|
|
|
|
## Examples
|
|
|
|
Give a default 'target' to all file entries
|
|
```shell
|
|
> ls -la | default target 'nothing'
|
|
```
|