Add a command line argument. All of the given arguments will be passed directly to optparse.OptionParser().add_option
(self, *args, **kwargs)
| 60 | self.type) |
| 61 | |
| 62 | def add_cli(self, *args, **kwargs): |
| 63 | """Add a command line argument. |
| 64 | |
| 65 | All of the given arguments will be passed directly to |
| 66 | optparse.OptionParser().add_option |
| 67 | """ |
| 68 | self.cli_options.append((args, kwargs)) |
| 69 | |
| 70 | |
| 71 | class Config(object): |
no outgoing calls
no test coverage detected