class documentation

class YAMLToNestedText(_ToNestedText): (source)

View In Hierarchy

Read YAML and output its content as NestedText.

Examples

yaml2nt config.yml >config.nt kubectl get deployment -o yaml | yaml2nt yaml2nt --to-schema config.yml >config.types.nt

Method main Undocumented

Inherited from _ToNestedText:

Class Variable inline_width Undocumented

Inherited from _TypedFormatToSchema (via _ToNestedText):

Class Variable to_schema Undocumented

Inherited from _ColorApp (via _ToNestedText, _TypedFormatToSchema):

Constant ALLOW_ABBREV Undocumented
Constant COLOR_GROUPS Undocumented
Constant VERSION Undocumented
def main(self, *input_files: ExistingFile): (source) ΒΆ

Undocumented