to toml for formats
Convert record into .toml text.
Signature
> to toml {flags}
Flags
-
--serialize, -s: Serialize nushell types that cannot be deserialized.
Input/output types:
| input | output |
|---|---|
| record | string |
Examples
Outputs an TOML string representing the contents of this record.
> {foo: 1 bar: 'qwe'} | to toml
foo = 1
bar = "qwe"
Copyright © 2019–2026 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/to_toml.html