Update #4455, Regenerate all commands' docs (#4557)

This commit is contained in:
Justin Ma
2022-02-20 09:13:33 +08:00
committed by GitHub
parent aea4355d04
commit 2ecae0ef43
48 changed files with 481 additions and 52 deletions

View File

@ -22,6 +22,11 @@ Update a column value
> echo {'name': 'nu', 'stars': 5} | update name 'Nushell'
```
Use in block form for more involved updating logic
```shell
> echo [[count fruit]; [1 'apple']] | update count {|f| $f.count + 1}
```
Use in block form for more involved updating logic
```shell
> echo [[project, authors]; ['nu', ['Andrés', 'JT', 'Yehuda']]] | update authors { get authors | str collect ',' }