mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 12:25:58 +02:00
docs/commands: add to.md, update subcommands (#1715)
This adds a top-level document for the new `to` command, with a list (of links) of all the subcommands. All the to-* subcommands keep their filename, but the content is updated to use the new subcommand syntax. Since not all subcommands have documentation, some items in the list are just text without a link. Also filled the list for the undocumented from* commands in the same style. Fixes #1709
This commit is contained in:
@ -1,21 +1,30 @@
|
||||
# from-csv
|
||||
|
||||
Converts content (string or binary) into a table. The format is specified as a subcommand, like `from csv` or `from json`.
|
||||
Converts content (string or binary) into a table. The source format is specified as a subcommand, like `from csv` or `from json`.
|
||||
|
||||
Use this when nushell cannot determine the input file extension.
|
||||
|
||||
## Available Subcommands
|
||||
|
||||
* from bson
|
||||
* [from csv](from-csv.md)
|
||||
* from eml
|
||||
* [from ics](from-ics.md)
|
||||
* from ini
|
||||
* [from json](from-json.md)
|
||||
* [from ods](from-ods.md)
|
||||
* from sqlite
|
||||
* from ssv
|
||||
* [from toml](from-toml.md)
|
||||
* [from tsv](from-tsv.md)
|
||||
* from url
|
||||
* [from vcf](from-vcf.md)
|
||||
* [from xlsx](from-csv.md)
|
||||
* [from xlsx](from-xlsx.md)
|
||||
* from xml
|
||||
* [from yaml](from-yaml.md)
|
||||
|
||||
*Subcommands without links are currently missing their documentation.*
|
||||
|
||||
## Example for `from csv`
|
||||
|
||||
Let's say we have the following file :
|
||||
|
Reference in New Issue
Block a user