mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Update from-yaml.md
This commit is contained in:
parent
911414a190
commit
f317500873
1 changed files with 24 additions and 0 deletions
24
docs/commands/from-yaml.md
Normal file
24
docs/commands/from-yaml.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# from-yaml
|
||||||
|
|
||||||
|
Parse text as `.yaml/.yml` and create table. Use this when nushell cannot determine the input file extension.
|
||||||
|
|
||||||
|
Syntax: `from-yaml`
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
```shell
|
||||||
|
> open command_from-yaml
|
||||||
|
title: from-yaml
|
||||||
|
type: command
|
||||||
|
flags: false
|
||||||
|
```
|
||||||
|
|
||||||
|
```shell
|
||||||
|
> open command_from-yaml | from-yaml
|
||||||
|
━━━━━━━━━━━┯━━━━━━━━━┯━━━━━━━
|
||||||
|
title │ type │ flags
|
||||||
|
───────────┼─────────┼───────
|
||||||
|
from-yaml │ command │ No
|
||||||
|
━━━━━━━━━━━┷━━━━━━━━━┷━━━━━━━
|
||||||
|
|
||||||
|
```
|
Loading…
Reference in a new issue