Auto-generate markdown command docs (#4451)

* Finish updating

* a couple improvements

* Update renames

* cleanup examples
This commit is contained in:
JT
2022-02-13 21:22:51 -05:00
committed by GitHub
parent 06f5affc0b
commit 8c0a2d3c15
478 changed files with 7676 additions and 8045 deletions

39
docs/commands/from_csv.md Normal file
View File

@ -0,0 +1,39 @@
---
title: from csv
layout: command
version: 0.59.0
---
Parse text as .csv and create table.
## Signature
```> from csv --separator --noheaders```
## Parameters
- `--separator {string}`: a character to separate columns, defaults to ','
- `--noheaders`: don't treat the first row as column names
## Examples
Convert comma-separated data to a table
```shell
> open data.txt | from csv
```
Convert comma-separated data to a table, ignoring headers
```shell
> open data.txt | from csv --noheaders
```
Convert comma-separated data to a table, ignoring headers
```shell
> open data.txt | from csv -n
```
Convert semicolon-separated data to a table
```shell
> open data.txt | from csv --separator ';'
```