class documentation

Convert another format to another format, by way of NestedText.

Method main Undocumented
Constant DESCRIPTION_MORE Undocumented
Constant USAGE Undocumented

Inherited from Command:

Constant COLOR_GROUPS Undocumented
Constant SUBCOMMAND_HELPMSG Undocumented
Constant VERSION Undocumented

Inherited from WithFromSwitch (via Command):

Class Variable from_format Undocumented
def main(self, TO_FORMAT: Set(*SUBCOMMANDS_NT2_NAMES, case_sensitive=False), *DATA_FILE: ExistingFile) -> int | None: (source)

Undocumented

DESCRIPTION_MORE: str = (source)

Undocumented

Value
'''
Examples:
    - 2nt2 json pyproject.toml
    - cat pyproject.toml | 2nt2 json --from toml
'''

Undocumented

Value
'    2nt2 [SWITCHES] TO_FORMAT:{{' + ', '.join(SUBCOMMANDS_NT2_NAMES) + '''}} DA
TA_FILE...
'''