hatch.utils.runner.ExecutionContext¶
- class hatch.utils.runner.ExecutionContext(environment: EnvironmentInterface, *, shell_commands: list[str] | None = None, env_vars: dict[str, str] | None = None, force_continue: bool = False, show_code_on_error: bool = False, hide_commands: bool = False, source: str = 'cmd')¶
Bases:
object
- __init__(environment: EnvironmentInterface, *, shell_commands: list[str] | None = None, env_vars: dict[str, str] | None = None, force_continue: bool = False, show_code_on_error: bool = False, hide_commands: bool = False, source: str = 'cmd') None ¶
Methods
__init__
(environment, *[, shell_commands, ...])add_shell_command
(command)