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.

Return type:

argparse.ArgumentParser

Parameters:

parser (argparse.ArgumentParser)

exception tmuxp.cli.convert.ConvertUnknownFileTypeexception[source]

Bases: TmuxpException

Raise if tmuxp convert encounters an unknown filetype.

__init__(ext, *args, **kwargs)method[source]
Parameters:
Return type:

None

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.

Return type:

None

Parameters: