-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Milestone
Description
As part of rewriting the parser in #2205, I was looking at the complexities of Click's definitions and processing. BaseCommand seems to exist to represent a command without the help, parse, and invoke behaviors implemented by Command. A test shows implementing parse_args to use optparse, where the parameters are defined there instead of as the command.params collection. This not documented, and subclassing Command instead doesn't prevent writing a custom parse_args method.