class documentation

Convert another format to NestedText.

Method main Undocumented
Constant DESCRIPTION_MORE Undocumented

Inherited from ToNestedTextBase:

Method dump Convert inputs to NestedText or NestedText schema and dump to stdout.
Class Variable inline_width Undocumented
Class Variable to_schema Undocumented

Inherited from Command (via ToNestedTextBase):

Constant COLOR_GROUPS Undocumented
Constant SUBCOMMAND_HELPMSG Undocumented
Constant VERSION Undocumented

Inherited from WithFromSwitch (via ToNestedTextBase, Command):

Class Variable from_format Undocumented
def main(self, *DATA_FILE: ExistingFile) -> int | None: (source)

Undocumented

DESCRIPTION_MORE: str = (source)

Undocumented

Value
'''
Examples:
    - 2nt config.json
    - 2nt config.json --to-schema >config.types.nt
    - cat config.json | 2nt json
    - cat config.json | 2nt --from json
'''