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:
- tmuxp.cli.import_config.get_teamocil_dir()[source]¶
Return teamocil configuration directory.
- Return type:
Path
- Returns:
absolute path to teamocil config directory
- Return type:
- tmuxp.cli.import_config.command_import(workspace_file, print_list, parser)[source]¶
Import a teamocil/tmuxinator config.
- Return type:
- tmuxp.cli.import_config.create_import_subparser(parser)[source]¶
Augment
argparse.ArgumentParser
withimport
subparser.- Return type:
- 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: