I am trying to get something to work that feels like it should be possible, but I am struggling to figure it out.
Following the docs here: https://docs.dagger.io/manuals/user/249202/arguments#container-arguments
Is it possible to pass in a container argument where the value for the argument is a dagger function that returns a container type?
I can easily do this via the SDK like this:
// Test Test Container Chains
func (m *Mariadb) Test() *Container {
return m.Chain(m.Base("latest", "sample-database"))
}
But I want to be able to write command via the CLI like this and it does not seem to be possible.
dagger call chain --ctr base
Looking around Discord I do see this discussion where we said this was not possible (yet) - is that still the case? #daggernauts message
I think my mental model is that anything that is possible via the CLI is also possible via the SDK, but that does not seem to be the case here right?