deploy_tools.models.shell_app#

Members

ShellApp

Represents a Shell application.

class deploy_tools.models.shell_app.ShellApp(*, app_type: ~typing.Literal['shell'], name: ~typing.Annotated[str, ~pydantic.types.StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[a-zA-Z_][0-9a-zA-Z_-]*$, ascii_only=None)], script: list[str] = [])[source]#

Represents a Shell application.

This will run the code specified as a shell script. This currently uses Bash for improved functionality while retaining high compatibility with various Linux distributions.