DescriptionMake SuperCommand convenient to use with forthcoming cmd/server
prereq: lp:~fwereade/juju/go-add-cmd-context
* expose new field SetsLog; if false, log-related options are not handled
and ctx.InitLog will not be called.
* expose new field Purpose; allows SCs to provide slightly better output
when desired.
* the command's full name is now used in the error returned when an
unknown subcommand is recognised.
https://code.launchpad.net/~fwereade/juju/go-tweak-supercommand/+merge/96136
Requires: https://code.launchpad.net/~fwereade/juju/go-add-cmd-context/+merge/96131
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Make SuperCommand convenient to use with forthcoming cmd/server #Patch Set 3 : Make SuperCommand convenient to use with forthcoming cmd/server #
Total comments: 5
MessagesTotal messages: 5
|