mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 03:34:58 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
29
docs/commands/to_csv.md
Normal file
29
docs/commands/to_csv.md
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
title: to csv
|
||||
layout: command
|
||||
version: 0.59.0
|
||||
---
|
||||
|
||||
Convert table into .csv text
|
||||
|
||||
## Signature
|
||||
|
||||
```> to csv --separator --noheaders```
|
||||
|
||||
## Parameters
|
||||
|
||||
- `--separator {string}`: a character to separate columns, defaults to ','
|
||||
- `--noheaders`: do not output the columns names as the first row
|
||||
|
||||
## Examples
|
||||
|
||||
Outputs an CSV string representing the contents of this table
|
||||
```shell
|
||||
> [[foo bar]; [1 2]] | to csv
|
||||
```
|
||||
|
||||
Outputs an CSV string representing the contents of this table
|
||||
```shell
|
||||
> [[foo bar]; [1 2]] | to csv -s ';'
|
||||
```
|
||||
|
Reference in New Issue
Block a user