nushell/docs/commands/headers.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

377 B

title layout version
headers command 0.59.0

Use the first row of the table as column names.

Signature

> headers

Examples

Returns headers from table

> "a b c|1 2 3" | split row "|" | split column " " | headers

Don't panic on rows with different headers

> "a b c|1 2 3|1 2 3 4" | split row "|" | split column " " | headers