Alias

class soap.Alias(name, value: Dict[str, Any], root_dir: Path)[source]

Bases: object

Configuration for a single alias.

Variables:
  • name – Name of the alias. This is the subcommand used to execute the alias.

  • command – The command being aliased.

  • chdir – If True, the command will be run from the Git repository root directory, rather than the current directory.

  • default_env – The environment to run the alias in if none is specified on the command line.

Methods