Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 295: Updated NameSpace unit tests to test NameSpace.__getitem__() with int ↵ | Jason Gerard DeRose | 2008-09-18 | 1 | -10/+17 | |
| | | | | | | | | and slice | |||||
| * | 294: NameSpace no longer subclasses from DictProxy; NameSpace.__getitem__() ↵ | Jason Gerard DeRose | 2008-09-18 | 2 | -17/+50 | |
| | | | | | | | | now works with int and slice objects | |||||
| * | 293: Added Command.kw_to_args() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-18 | 2 | -19/+37 | |
| | | ||||||
| * | 292: Added experimental Command.args_to_kw() method | Jason Gerard DeRose | 2008-09-14 | 2 | -12/+42 | |
| | | ||||||
| * | 291: Temporarily reverted Rob's changes in public.py and plugins/examples.py | Jason Gerard DeRose | 2008-09-13 | 2 | -9/+2 | |
| | | ||||||
| * | 290: Applyied Rob's patch | Jason Gerard DeRose | 2008-09-12 | 8 | -2/+1195 | |
| | | ||||||
| * | 289: Command.convert(), normalize(), and validate() now use self.params ↵ | Jason Gerard DeRose | 2008-09-11 | 1 | -13/+13 | |
| | | | | | | | | instead of self.options | |||||
| * | 288: CLI now uses Command.group_args() to check for required arguments | Jason Gerard DeRose | 2008-09-10 | 2 | -1/+9 | |
| | | ||||||
| * | 287: Renamed Command.args_to_kw() to Command.group_args(), which now returns ↵ | Jason Gerard DeRose | 2008-09-10 | 2 | -35/+39 | |
| | | | | | | | | a tuple instead of dict; updated unit tests | |||||
| * | 286: Finished Command.args_to_kw(); finished unit tests for args_to_kw() | Jason Gerard DeRose | 2008-09-10 | 2 | -12/+27 | |
| | | ||||||
| * | 285: Started work on Command.args_to_kw() method; added unit test for ↵ | Jason Gerard DeRose | 2008-09-10 | 3 | -0/+63 | |
| | | | | | | | | functionality so far in args_to_kw() | |||||
| * | 284: Removed depreciated Command.Option property; removed corresponding unit ↵ | Jason Gerard DeRose | 2008-09-10 | 3 | -35/+8 | |
| | | | | | | | | tests; updated affected code | |||||
| * | 283: Renamed generate_argument() to generate_option() | Jason Gerard DeRose | 2008-09-10 | 2 | -7/+7 | |
| | | ||||||
| * | 282: Added Command.__check_options() method; added unit tests for ↵ | Jason Gerard DeRose | 2008-09-10 | 2 | -0/+33 | |
| | | | | | | | | Command.options instance attribute | |||||
| * | 281: Completed unit tests for Command.args | Jason Gerard DeRose | 2008-09-10 | 1 | -1/+9 | |
| | | ||||||
| * | 280: Renamed Options.options to takes_options; updated related unit tests | Jason Gerard DeRose | 2008-09-10 | 2 | -26/+26 | |
| | | ||||||
| * | 279: Fixed cli and public.Method re new Command.args attribute | Jason Gerard DeRose | 2008-09-10 | 2 | -9/+6 | |
| | | ||||||
| * | 278: Completed unit tests for Command.args instance attribute | Jason Gerard DeRose | 2008-09-10 | 2 | -3/+28 | |
| | | ||||||
| * | 277: Added public.generate_argument() function; added corresponding unit tests | Jason Gerard DeRose | 2008-09-10 | 2 | -0/+39 | |
| | | ||||||
| * | 276: Option.__init__(): doc is now 3rd kwarg instead of 2nd positional arg; ↵ | Jason Gerard DeRose | 2008-09-10 | 3 | -30/+25 | |
| | | | | | | | | updated unit tests and other affected code | |||||
| * | 275: Added Command.__check_args(); added basic unit tests for Command.args ↵ | Jason Gerard DeRose | 2008-09-09 | 2 | -0/+35 | |
| | | | | | | | | instance attribute | |||||
| * | 274: NameSpace.__init__() now takes sort=True keyword arument to allow for ↵ | Jason Gerard DeRose | 2008-09-09 | 2 | -71/+72 | |
| | | | | | | | | non-sorted NameSpaces; updated and improved NameSpace unit tests | |||||
| * | 273: Added Command.get_args() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-09 | 2 | -0/+14 | |
| | | ||||||
| * | 272: Add a quick positional arg experiment | Jason Gerard DeRose | 2008-09-09 | 2 | -1/+28 | |
| | | ||||||
| * | 271: Improved __repr__ methods for better output from the show-plugins command | Jason Gerard DeRose | 2008-09-08 | 3 | -3/+11 | |
| | | ||||||
| * | 270: show-plugins now only shows namespaces with at least one member | Jason Gerard DeRose | 2008-09-08 | 1 | -1/+1 | |
| | | ||||||
| * | 269: Renamed print_api command to show_plugins | Jason Gerard DeRose | 2008-09-08 | 1 | -2/+2 | |
| | | ||||||
| * | 268: Fixed broken unit test for Plugin.__repr__() | Jason Gerard DeRose | 2008-09-08 | 1 | -2/+2 | |
| | | ||||||
| * | 267: Finished builtin CLI api command | Jason Gerard DeRose | 2008-09-08 | 2 | -8/+34 | |
| | | ||||||
| * | 266: Started work on new cli.print_api Command | Jason Gerard DeRose | 2008-09-04 | 1 | -0/+4 | |
| | | ||||||
| * | 265: Fixed small formatting error with use of CLI.print_commands() | Jason Gerard DeRose | 2008-09-04 | 1 | -4/+2 | |
| | | ||||||
| * | 264: Cleaned up docstrings on all example plugins | Jason Gerard DeRose | 2008-09-04 | 3 | -15/+16 | |
| | | ||||||
| * | 263: CLI.print_commands() now seperates Command subclasses from Application ↵ | Jason Gerard DeRose | 2008-09-04 | 1 | -7/+17 | |
| | | | | | | | | subclasses | |||||
| * | 262: Fixed crossreference in public.Application docstring | Jason Gerard DeRose | 2008-09-04 | 1 | -1/+1 | |
| | | ||||||
| * | 261: More work on demo using Option.__call__() for interactive input | Jason Gerard DeRose | 2008-09-04 | 2 | -4/+9 | |
| | | ||||||
| * | 260: Option.normalize() now does same conversion for multivalue as ↵ | Jason Gerard DeRose | 2008-09-04 | 3 | -17/+27 | |
| | | | | | | | | Option.convert() does | |||||
| * | 259: Option.__normalize_scalar() now raises a TypeError if not ↵ | Jason Gerard DeRose | 2008-09-04 | 2 | -8/+8 | |
| | | | | | | | | isinstance(value, basestring); updated corresponding unit tests | |||||
| * | 258: Added some experimental features for interactively prompting for values | Jason Gerard DeRose | 2008-09-04 | 2 | -0/+40 | |
| | | ||||||
| * | 257: Improved help command, now parsing options with optparse | Jason Gerard DeRose | 2008-09-04 | 2 | -24/+52 | |
| | | ||||||
| * | 256: Fixed cli.help plugin so it looks up commands in CLI instead of API | Jason Gerard DeRose | 2008-09-04 | 2 | -9/+14 | |
| | | ||||||
| * | 255: CLI help, console commands now subclass from public.Application; other ↵ | Jason Gerard DeRose | 2008-09-04 | 5 | -16/+27 | |
| | | | | | | | | tweeking to make CLI utilize Application | |||||
| * | 254: Added public.Application base class; added corresponding unit tests | Jason Gerard DeRose | 2008-09-04 | 2 | -0/+72 | |
| | | ||||||
| * | 253: Fixed error in Option.get_default() where Option.convert() was being ↵ | Jason Gerard DeRose | 2008-09-04 | 2 | -7/+5 | |
| | | | | | | | | called on Option.default; updated corresponding unit tests | |||||
| * | 252: Added Command.convert() method; added corresponding unit tests | Jason Gerard DeRose | 2008-09-04 | 2 | -0/+30 | |
| | | ||||||
| * | 251: Fixed Command.validate() so it raises RequirementError; updated and ↵ | Jason Gerard DeRose | 2008-09-04 | 2 | -12/+19 | |
| | | | | | | | | re-enabled unit tests for Command.validate() | |||||
| * | 250: Updated Option.validate to utilize the ValidationError.index attribute; ↵ | Jason Gerard DeRose | 2008-09-04 | 2 | -32/+22 | |
| | | | | | | | | updated unit tests for Option.validate to test use of index attribute | |||||
| * | 249: Fixed Option.__convert_scalar() to user index=None instead of ↵ | Jason Gerard DeRose | 2008-09-03 | 2 | -20/+40 | |
| | | | | | | | | position=None; updated unit tests for Option.convert() to test the ConversionError.index attribute | |||||
| * | 248: Removed depreciated SetError and TwiceSetError exceptions | Jason Gerard DeRose | 2008-09-03 | 1 | -8/+0 | |
| | | ||||||
| * | 247: Added unit tests for errors.RequirementError | Jason Gerard DeRose | 2008-09-03 | 2 | -4/+24 | |
| | | ||||||
| * | 246: Added unit tests for errors.RuleError | Jason Gerard DeRose | 2008-09-03 | 2 | -3/+31 | |
| | |