From f317500873ebd709e96d9b591aa11cd1fe2b6ec3 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Sun, 1 Dec 2019 07:00:36 +1300 Subject: [PATCH] Update from-yaml.md --- docs/commands/from-yaml.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docs/commands/from-yaml.md diff --git a/docs/commands/from-yaml.md b/docs/commands/from-yaml.md new file mode 100644 index 000000000..1c7e9fef7 --- /dev/null +++ b/docs/commands/from-yaml.md @@ -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 +━━━━━━━━━━━┷━━━━━━━━━┷━━━━━━━ + +```