Merge lp://qastaging/~thumper/juju-core/supercommand-missing-func into lp://qastaging/~juju/juju-core/trunk
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Merged at revision: | 1220 |
Proposed branch: | lp://qastaging/~thumper/juju-core/supercommand-missing-func |
Merge into: | lp://qastaging/~juju/juju-core/trunk |
Diff against target: |
175 lines (+104/-16) 2 files modified
cmd/supercommand.go (+49/-16) cmd/supercommand_test.go (+55/-0) |
To merge this branch: | bzr merge lp://qastaging/~thumper/juju-core/supercommand-missing-func |
Related bugs: | |
Related blueprints: |
Core Plugin Support
(Low)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email:
|
Description of the change
Callbacks in supercommand for missing subcommands
In order to support plugins in a generic way, we want the supercommand to be
able to call out to another function if a subcommand was asked for that wasn't
one of the registered commands.
To post a comment you must log in.
Reviewers: mp+164824_ code.launchpad. net,
Message:
Please take a look.
Description:
Callbacks in supercommand for missing subcommands
In order to support plugins in a generic way, we want the supercommand
to be
able to call out to another function if a subcommand was asked for that
wasn't
one of the registered commands.
https:/ /code.launchpad .net/~thumper/ juju-core/ supercommand- missing- func/+merge/ 164824
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/9609043/
Affected files: d_test. go
A [revision details]
M cmd/supercommand.go
M cmd/supercomman