mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 21:07:58 +02:00
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
This commit is contained in:
@ -13,5 +13,16 @@ Save a file.
|
||||
## Parameters
|
||||
|
||||
- `filename`: the filename to use
|
||||
- `--raw`: open file as raw binary
|
||||
- `--raw`: save file as raw binary
|
||||
|
||||
## Examples
|
||||
|
||||
Save a string to foo.txt in current directory
|
||||
```shell
|
||||
> echo 'save me' | save foo.txt
|
||||
```
|
||||
|
||||
Save a record to foo.json in current directory
|
||||
```shell
|
||||
> echo { a: 1, b: 2 } | save foo.json
|
||||
```
|
||||
|
Reference in New Issue
Block a user