63
|
|
add jujud command (with subcommands initzk, unit, machine, provisioning)
Moved some of cmd/juju into cmd, with some changes, for reuse by cmd/jujud; added subcommands listed above. None of these commands actually do anything yet; I'm waiting for the State connection work to stabilise a bit before I hook this up.
It's interesting to note that SuperCommand (once JujuCommand) needs only a little work before it can itself usefully Register further SuperCommands, but there's no call for that at the moment (we'd need to add a managesLogging field which, if unset, would block initOutput and prevent InitFlagSet from trying to extend the subcommand, and set it only on the top-level command).
The various agent types now implement cmd.Command by embedding agentConf; and, indeed, it's even nicer like this :).
R=rog, niemeyer CC= https://codereview.appspot.com/5642048
|
William Reade |
12 years ago
|
|
|