W3cubDocs

/Nushell

to for formats

Translate structured data to a format.

Signature

> to {flags}

Input/output types:

input output
nothing string

Notes

You must use one of the following subcommands. Using this command as-is will only produce this help message.

Subcommands:

name type usage
to csv Builtin Convert table into .csv text .
to html Builtin Convert table into simple HTML.
to json Builtin Converts table data into JSON text.
to md Builtin Convert table into simple Markdown.
to nuon Builtin Converts table data into Nuon (Nushell Object Notation) text.
to text Builtin Converts data into simple text.
to toml Builtin Convert record into .toml text.
to tsv Builtin Convert table into .tsv text.
to xml Builtin Convert special record structure into .xml text.
to yaml Builtin Convert table into .yaml/.yml text.

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/to.html