- Notifications
You must be signed in to change notification settings - Fork927
Closed as not planned
Description
See WIP inclibase-usage
.
Essentially,clibase
should accept arguments in a way that looks like:
{"EnumThenSlice",clibase.Use{Name:"coder",Args: []clibase.Arg{{Name:"operation",Value:clibase.EnumOf(nil,"stop","force-stop"),},{Name:"workspaces",Value:clibase.StringsOf(nil),},},},"coder <stop|force-stop> <workspaces...>",},
We should remove the concept a Middleware in addition to this change.