RFC: command composition

Martin Pool mbp at sourcefrog.net
Mon Feb 9 10:45:35 GMT 2009


2009/2/9 Robert Collins <robertc at robertcollins.net>:
> Well the plugin's option should be in the options list. So I'm thinking
> a method on command class to register the callback and add options; with
> a list in the cmd_FOO instance that provides the callback to call. Then
> the callback occurs on the parsed (options, args) tuple as I mentioned
> above.

I'd like to see it, if possible, done as a standard hook, rather than
a special registration.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list