class NestedTextToYAML(_NestedTextToTypedFormat, _NestedTextToTypedFormatSupportNull, _NestedTextToTypedFormatSupportDate): (source)
Read NestedText and output its content as YAML.
By default, generated YAML values will only contain strings, arrays, and maps, but you can cast nodes matching YAML Paths to boolean, null, number, or date.
Casting switches may be before or after file arguments.
Examples
nt2yaml config.nt >config.yml cat config.nt | nt2yaml nt2yaml --schema config.types.nt config.nt >config.yml nt2yaml --int stats.total --boolean config.enabled data.nt
Method | main |
Undocumented |
Instance Variable | bool |
Undocumented |
Instance Variable | date |
Undocumented |
Instance Variable | null |
Undocumented |
Instance Variable | num |
Undocumented |
Inherited from _NestedTextToTypedFormat
:
Class Variable | schema |
Undocumented |
Inherited from _ColorApp
(via _NestedTextToTypedFormat
, _NestedTextToTypedFormatSupportNull
, _NestedTextToTypedFormatSupportDate
):
Constant | ALLOW |
Undocumented |
Constant | COLOR |
Undocumented |
Constant | VERSION |
Undocumented |