Overview
A nice improvement of dagger do would be to detect incomplete fields in the action, and expose them as part of the action interface, as magical command-line flags. For example:
// Say hello
actions: hello: {
// Specify a greeting
greeting: string | *"hello"
// Specify a name
name: string | *"world"
message: "\(greeting), \(name)!"
}
$ dagger do hello --help
Usage: dagger do hello [--name STRING] [--greeting STRING]
Say hello
Options:
--greeting STRING Specify a greeting. (default: "hello")
--name STRING Specify a name (default: "world")
$ dagger do hello --message bonjour --name monde