tmuxp import - tmuxp.cli.import_config#

CLI for tmuxp shell subcommand.

tmuxp.cli.import_config.get_tmuxinator_dir()[source]#

Return tmuxinator configuration directory.

Checks for TMUXINATOR_CONFIG environmental variable.

Return type:

Path

Returns:

absolute path to tmuxinator config directory

Return type:

pathlib.Path

tmuxp.cli.import_config.get_teamocil_dir()[source]#

Return teamocil configuration directory.

Return type:

Path

Returns:

absolute path to teamocil config directory

Return type:

pathlib.Path

tmuxp.cli.import_config._resolve_path_no_overwrite(workspace_file)[source]#
Return type:

str

tmuxp.cli.import_config.command_import(workspace_file, print_list, parser)[source]#

Import a teamocil/tmuxinator config.

Return type:

None

tmuxp.cli.import_config.create_import_subparser(parser)[source]#

Augment argparse.ArgumentParser with import subparser.

Return type:

ArgumentParser

class tmuxp.cli.import_config.ImportConfigFn(*args, **kwargs)[source]#

Bases: Protocol

Typing for import configuration callback function.

_abc_impl = <_abc._abc_data object>#
_is_protocol = True#
tmuxp.cli.import_config.import_config(workspace_file, importfunc, parser=None)[source]#

Import a configuration from a workspace_file.

Return type:

None

tmuxp.cli.import_config.command_import_tmuxinator(workspace_file, parser=None)[source]#

Entrypoint for tmuxp import tmuxinator subcommand.

Converts a tmuxinator config from workspace_file to tmuxp format and import it into tmuxp.

Return type:

None

tmuxp.cli.import_config.command_import_teamocil(workspace_file, parser=None)[source]#

Entrypoint for tmuxp import teamocil subcommand.

Convert a teamocil config from workspace_file to tmuxp format and import it into tmuxp.

Return type:

None