mirror of
https://github.com/nushell/nushell.git
synced 2025-02-08 06:30:00 +01:00
25 lines
377 B
Markdown
25 lines
377 B
Markdown
---
|
|
title: default
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
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'
|
|
```
|
|
|