Returns a container that echoes whatever string argument is provided
(self, string_arg: str)
| 6 | class Main: |
| 7 | @function |
| 8 | def container_echo(self, string_arg: str) -> dagger.Container: |
| 9 | """Returns a container that echoes whatever string argument is provided""" |
| 10 | return dag.container().from_("alpine:latest").with_exec(["echo", string_arg]) |
| 11 | |
| 12 | @function |
| 13 | async def grep_dir(self, directory_arg: dagger.Directory, pattern: str) -> str: |