How would you solve this with directory structure and "function structs" respectively? I'm having trouble wrapping my head around the former and ran into shadowing problems with the latter.
test.cue:
#Job: { command: string args: string cli: "\(command) \(args)" } #GoJob: #Job & { command: "go" } #GoJobV: #GoJob & { args: "-v ./..." } job: #GoJobV.cli
$ cue export test.cue { "job": "go -v ./..." }
test.cue:
Results in: