tmuxp convert - tmuxp.cli.convert¶
CLI for tmuxp convert subcommand.
-
tmuxp.cli.convert.create_convert_subparser(parser)¶
Augment
argparse.ArgumentParserwithconvertsubcommand.- Parameters:
parser (ArgumentParser)
- Return type:
-
exception tmuxp.cli.convert.ConvertUnknownFileType¶
Bases:
TmuxpExceptionRaise if tmuxp convert encounters an unknown filetype.
-
tmuxp.cli.convert.command_convert(workspace_file, answer_yes, parser=None, color=None)¶
Entrypoint for
tmuxp convertconvert a tmuxp config between JSON and YAML.