tmuxp convert - tmuxp.cli.convert#

CLI for tmuxp convert subcommand.

tmuxp.cli.convert.create_convert_subparser(parser)[source]#

Augment argparse.ArgumentParser with convert subcommand.

Return type:

ArgumentParser

exception tmuxp.cli.convert.ConvertUnknownFileType(ext, *args, **kwargs)[source]#

Bases: TmuxpException

Raise if tmuxp convert encounters an unknown filetype.

tmuxp.cli.convert.command_convert(workspace_file, answer_yes, parser=None)[source]#

Entrypoint for tmuxp convert convert a tmuxp config between JSON and YAML.

Return type:

None