After reading https://blog.matiaspan.dev/posts/exploring-dagger-building-a-ci-cd-pipeline-for-iac/ I'd like to recreate parts of this in Python for a demonstration: in particular chaining methods. I've got (I think) most of what I need, but attempting to chain commands fails with a clear error "unknown command <subcommand> for 'dagger call <first command that starts with_>" so I'm guessing I don't have this bit from the blog right:
There are 2 public functions (WithAwsCredentials and WithPulumiToken) that set the credentials for what we want to do and need to be called before our operation. See how they return a reference to the module itself, in Dagger-lang this means that in order for something to happen they require a subcommand (like up).