Configures default arguments for future commands. Like CMD in Dockerfile. Parameters ---------- args: Arguments to prepend to future executions (e.g., ["-v", "--no- cache"]).
(self, args: list[str])
| 2817 | return Container(_ctx) |
| 2818 | |
| 2819 | def with_default_args(self, args: list[str]) -> Self: |
| 2820 | """Configures default arguments for future commands. Like CMD in |
| 2821 | Dockerfile. |
| 2822 | |
| 2823 | Parameters |
| 2824 | ---------- |
| 2825 | args: |
| 2826 | Arguments to prepend to future executions (e.g., ["-v", "--no- |
| 2827 | cache"]). |
| 2828 | """ |
| 2829 | _args = [ |
| 2830 | Arg("args", args), |
| 2831 | ] |
| 2832 | _ctx = self._select("withDefaultArgs", _args) |
| 2833 | return Container(_ctx) |
| 2834 | |
| 2835 | def with_default_terminal_cmd( |
| 2836 | self, |