tmuxp convert - tmuxp.cli.convert

CLI for tmuxp convert subcommand.

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

Augment argparse.ArgumentParser with convert subcommand.

Parameters:

parser (ArgumentParser)

Return type:

ArgumentParser

exception tmuxp.cli.convert.ConvertUnknownFileType
exception[source]

Bases: TmuxpException

Raise if tmuxp convert encounters an unknown filetype.

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

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

Parameters:
Return type:

None