Module stakkr.actions¶
Stakkr main controller. Used by the CLI to do all its actions.
-
class
stakkr.actions.
StakkrActions
(ctx: dict)[source]¶ Main class that does actions asked in the cli.
-
console
(container: str, user: str, tty: bool)[source]¶ Enter a container. Stakkr will try to guess the right shell.
-
exec_cmd
(container: str, user: str, args: tuple, tty: bool)[source]¶ Run a command from outside to any container. Wrapped into /bin/sh.
-
init_project
()[source]¶ Initializing the project by reading config and setting some properties of the object
-