Jason Gerard DeRose
|
c17c5efb4e
|
287: Renamed Command.args_to_kw() to Command.group_args(), which now returns a tuple instead of dict; updated unit tests
|
2008-09-10 23:18:29 +00:00 |
|
Jason Gerard DeRose
|
7c40226500
|
286: Finished Command.args_to_kw(); finished unit tests for args_to_kw()
|
2008-09-10 21:34:29 +00:00 |
|
Jason Gerard DeRose
|
100492d98a
|
285: Started work on Command.args_to_kw() method; added unit test for functionality so far in args_to_kw()
|
2008-09-10 20:05:45 +00:00 |
|
Jason Gerard DeRose
|
687f603562
|
284: Removed depreciated Command.Option property; removed corresponding unit tests; updated affected code
|
2008-09-10 15:31:34 +00:00 |
|
Jason Gerard DeRose
|
bde377a2da
|
283: Renamed generate_argument() to generate_option()
|
2008-09-10 15:16:17 +00:00 |
|
Jason Gerard DeRose
|
7de450363b
|
282: Added Command.__check_options() method; added unit tests for Command.options instance attribute
|
2008-09-10 15:14:26 +00:00 |
|
Jason Gerard DeRose
|
2d85a6daa3
|
281: Completed unit tests for Command.args
|
2008-09-10 14:54:01 +00:00 |
|
Jason Gerard DeRose
|
cbfacf7c2e
|
280: Renamed Options.options to takes_options; updated related unit tests
|
2008-09-10 14:46:20 +00:00 |
|
Jason Gerard DeRose
|
8062075f84
|
279: Fixed cli and public.Method re new Command.args attribute
|
2008-09-10 02:02:26 +00:00 |
|
Jason Gerard DeRose
|
0d3be2f421
|
278: Completed unit tests for Command.args instance attribute
|
2008-09-10 01:54:48 +00:00 |
|
Jason Gerard DeRose
|
51b6395958
|
277: Added public.generate_argument() function; added corresponding unit tests
|
2008-09-10 01:03:59 +00:00 |
|
Jason Gerard DeRose
|
0215bc8009
|
276: Option.__init__(): doc is now 3rd kwarg instead of 2nd positional arg; updated unit tests and other affected code
|
2008-09-10 00:21:40 +00:00 |
|
Jason Gerard DeRose
|
349fc660e7
|
275: Added Command.__check_args(); added basic unit tests for Command.args instance attribute
|
2008-09-09 23:46:16 +00:00 |
|
Jason Gerard DeRose
|
0453aa465f
|
274: NameSpace.__init__() now takes sort=True keyword arument to allow for non-sorted NameSpaces; updated and improved NameSpace unit tests
|
2008-09-09 23:10:49 +00:00 |
|
Jason Gerard DeRose
|
97b01a4891
|
273: Added Command.get_args() method; added corresponding unit tests
|
2008-09-09 21:18:44 +00:00 |
|
Jason Gerard DeRose
|
21a0bab79e
|
272: Add a quick positional arg experiment
|
2008-09-09 01:41:15 +00:00 |
|
Jason Gerard DeRose
|
13f030d91e
|
271: Improved __repr__ methods for better output from the show-plugins command
|
2008-09-08 21:51:05 +00:00 |
|
Jason Gerard DeRose
|
cb9c442708
|
270: show-plugins now only shows namespaces with at least one member
|
2008-09-08 21:44:53 +00:00 |
|
Jason Gerard DeRose
|
03fd184e8e
|
269: Renamed print_api command to show_plugins
|
2008-09-08 21:42:48 +00:00 |
|
Jason Gerard DeRose
|
7d3d607b55
|
268: Fixed broken unit test for Plugin.__repr__()
|
2008-09-08 21:40:46 +00:00 |
|
Jason Gerard DeRose
|
e74713a076
|
267: Finished builtin CLI api command
|
2008-09-08 21:37:02 +00:00 |
|
Jason Gerard DeRose
|
641403278e
|
266: Started work on new cli.print_api Command
|
2008-09-04 18:35:04 +00:00 |
|
Jason Gerard DeRose
|
22d9b8c078
|
265: Fixed small formatting error with use of CLI.print_commands()
|
2008-09-04 09:27:28 +00:00 |
|
Jason Gerard DeRose
|
553b0c596d
|
264: Cleaned up docstrings on all example plugins
|
2008-09-04 09:22:18 +00:00 |
|
Jason Gerard DeRose
|
6b9ba734e1
|
263: CLI.print_commands() now seperates Command subclasses from Application subclasses
|
2008-09-04 09:04:35 +00:00 |
|
Jason Gerard DeRose
|
86035c8655
|
262: Fixed crossreference in public.Application docstring
|
2008-09-04 08:39:27 +00:00 |
|
Jason Gerard DeRose
|
6f95249d52
|
261: More work on demo using Option.__call__() for interactive input
|
2008-09-04 08:33:41 +00:00 |
|
Jason Gerard DeRose
|
915486dadc
|
260: Option.normalize() now does same conversion for multivalue as Option.convert() does
|
2008-09-04 08:16:12 +00:00 |
|
Jason Gerard DeRose
|
c7cd694d4f
|
259: Option.__normalize_scalar() now raises a TypeError if not isinstance(value, basestring); updated corresponding unit tests
|
2008-09-04 07:47:07 +00:00 |
|
Jason Gerard DeRose
|
71d36aa6a0
|
258: Added some experimental features for interactively prompting for values
|
2008-09-04 07:18:26 +00:00 |
|
Jason Gerard DeRose
|
01b73e6910
|
257: Improved help command, now parsing options with optparse
|
2008-09-04 06:33:57 +00:00 |
|
Jason Gerard DeRose
|
b16deabdff
|
256: Fixed cli.help plugin so it looks up commands in CLI instead of API
|
2008-09-04 05:18:14 +00:00 |
|
Jason Gerard DeRose
|
ab81ca56fd
|
255: CLI help, console commands now subclass from public.Application; other tweeking to make CLI utilize Application
|
2008-09-04 04:39:01 +00:00 |
|
Jason Gerard DeRose
|
e1f8619d4a
|
254: Added public.Application base class; added corresponding unit tests
|
2008-09-04 03:34:16 +00:00 |
|
Jason Gerard DeRose
|
a5c6bf179b
|
253: Fixed error in Option.get_default() where Option.convert() was being called on Option.default; updated corresponding unit tests
|
2008-09-04 02:41:31 +00:00 |
|
Jason Gerard DeRose
|
cf7e4c1038
|
252: Added Command.convert() method; added corresponding unit tests
|
2008-09-04 02:30:40 +00:00 |
|
Jason Gerard DeRose
|
5cdb182ae8
|
251: Fixed Command.validate() so it raises RequirementError; updated and re-enabled unit tests for Command.validate()
|
2008-09-04 02:02:06 +00:00 |
|
Jason Gerard DeRose
|
7e3664a964
|
250: Updated Option.validate to utilize the ValidationError.index attribute; updated unit tests for Option.validate to test use of index attribute
|
2008-09-04 01:01:40 +00:00 |
|
Jason Gerard DeRose
|
b53ff67ff1
|
249: Fixed Option.__convert_scalar() to user index=None instead of position=None; updated unit tests for Option.convert() to test the ConversionError.index attribute
|
2008-09-03 23:21:26 +00:00 |
|
Jason Gerard DeRose
|
490eaee8a9
|
248: Removed depreciated SetError and TwiceSetError exceptions
|
2008-09-03 22:41:53 +00:00 |
|
Jason Gerard DeRose
|
296d59d27a
|
247: Added unit tests for errors.RequirementError
|
2008-09-03 22:29:01 +00:00 |
|
Jason Gerard DeRose
|
004e989dc4
|
246: Added unit tests for errors.RuleError
|
2008-09-03 22:14:25 +00:00 |
|
Jason Gerard DeRose
|
62533bfb2b
|
245: Removed depreciated NormalizationError
|
2008-09-03 21:55:44 +00:00 |
|
Jason Gerard DeRose
|
6f739bcf67
|
244: Added unit tests for errors.ConversionError
|
2008-09-03 21:53:15 +00:00 |
|
Jason Gerard DeRose
|
390c1aa4ba
|
243: Added unit tests for errors.ValidationError
|
2008-09-03 20:05:24 +00:00 |
|
Jason Gerard DeRose
|
5e8f945a1e
|
242: Started cleanup of custom exceptions; added unit tests for errors.IPAError
|
2008-09-03 19:38:39 +00:00 |
|
Jason Gerard DeRose
|
9b9615df79
|
241: Added additional index=None kwarg to errors.ValidationError.__init__()
|
2008-09-03 18:48:58 +00:00 |
|
Jason Gerard DeRose
|
9548b4b951
|
240: Small change in tstutil.check_TypeError(), cleaned up use of check_TypeError() in test_Option.test_normalize()
|
2008-09-03 18:41:46 +00:00 |
|
Jason Gerard DeRose
|
085ea3f62f
|
239: Added errors.ConversionError; started big clean up of how ValidationError is raised so it works well with multivalues
|
2008-09-03 18:32:49 +00:00 |
|
Jason Gerard DeRose
|
baef0e6f49
|
238: Some docstring cleanup & fixes in test_public.py
|
2008-09-03 00:15:20 +00:00 |
|