#Can I reuse class properties in the CLI?

1 messages · Page 1 of 1 (latest)

valid falcon
#

Let's assume I have this class:

@object_type
class MyModule:
  my_container: dagger.Container

How can I use my_container in the CLI?

I am thinking to something like

dagger call --my-container busybox my-container terminal

Of course the above does not work, but I am wondering if there is a way to do so without defining a getter function.

Thank you!

#

Can I reuse class properties in the CLI?

keen sapphire