Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added util.configure_logging() function; API.bootstrap() now calls ↵ | Jason Gerard DeRose | 2008-10-28 | 1 | -1/+1 | |
| | | | | util.configure_logging() | |||||
* | API.load_plugins() no longer takes dry_run=False kwarg and instead checks in ↵ | Jason Gerard DeRose | 2008-10-27 | 1 | -1/+1 | |
| | | | | env.mode == 'unit_test' to decide whether to load the plugins; it also only loads ipa_server.plugins in env.in_server is True | |||||
* | More CLI cleanup, got all basics working again | Jason Gerard DeRose | 2008-10-27 | 1 | -70/+70 | |
| | ||||||
* | More docstrings, functionality, and unit tests for improved CLI class | Jason Gerard DeRose | 2008-10-27 | 1 | -80/+166 | |
| | ||||||
* | Implemented basic CLI.bootstrap(); added corresponding unit tests | Jason Gerard DeRose | 2008-10-27 | 1 | -22/+13 | |
| | ||||||
* | Started cleanup work on CLI class, added unit tests for CLI.parse_globals() | Jason Gerard DeRose | 2008-10-27 | 1 | -1/+2 | |
| | ||||||
* | Started cleanup work on CLI class, added unit tests for CLI.parse_globals() | Jason Gerard DeRose | 2008-10-27 | 1 | -48/+69 | |
| | ||||||
* | Fix ipa command running in server_context=True | Rob Crittenden | 2008-10-23 | 1 | -1/+17 | |
| | | | | | | Make the LDAP host and port environment variables More changes so that commands have a shell return value lite-xmlrpc no longer hardcodes the kerberos credentials cache location | |||||
* | Return a value to the shell that called ipa | Rob Crittenden | 2008-10-22 | 1 | -2/+6 | |
| | ||||||
* | Gracefully handle keyboard interrupts (^C) | Rob Crittenden | 2008-10-21 | 1 | -1/+4 | |
| | ||||||
* | Make boolean options work like standard OptionParser booleans | Rob Crittenden | 2008-10-21 | 1 | -1/+6 | |
| | ||||||
* | Reworked 'plugins' command to use output_for_cli() | Jason Gerard DeRose | 2008-10-20 | 1 | -8/+11 | |
| | ||||||
* | Removed generic Command.output_for_cli() method; CLI.run_interactive() now ↵ | Jason Gerard DeRose | 2008-10-17 | 1 | -1/+3 | |
| | | | | only calls output_for_cli() if it has been implemented | |||||
* | Reworking Environment, moved it to config.py | Martin Nagy | 2008-10-17 | 1 | -12/+13 | |
| | ||||||
* | Started roughing out user_add() using api.Backend.ldap; added ↵ | Jason Gerard DeRose | 2008-10-14 | 1 | -1/+1 | |
| | | | | Command.output_for_cli() to take care of formatting print output | |||||
* | CLI.run_interactive() now uses Param.cli_name instead of Param.name for ↵ | Jason Gerard DeRose | 2008-10-13 | 1 | -3/+3 | |
| | | | | prompts and errors | |||||
* | CLI now maps Param.cli_name to Param.name | Jason Gerard DeRose | 2008-10-13 | 1 | -2/+3 | |
| | ||||||
* | Implement argument parsing for the CLI | Martin Nagy | 2008-10-08 | 1 | -8/+51 | |
| | ||||||
* | Implement config file reading | Martin Nagy | 2008-10-08 | 1 | -1/+2 | |
| | ||||||
* | Environment is now subclassed from object, rather then dict. Added tests for ↵ | Martin Nagy | 2008-10-02 | 1 | -5/+2 | |
| | | | | Environment and config.py | |||||
* | Add support for environment variables, change tests accordingly | Martin Nagy | 2008-09-29 | 1 | -0/+4 | |
| | ||||||
* | 327: Improved formatting on show-api cli command | Jason Gerard DeRose | 2008-09-24 | 1 | -9/+31 | |
| | ||||||
* | 326: Made output of plugins cli command nicer | Jason Gerard DeRose | 2008-09-24 | 1 | -5/+27 | |
| | ||||||
* | 325: API.finalize() now creates instance attribtue 'plugins', which is a ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -5/+31 | |
| | | | | tuple of PluginInfo objects; renamed show_plugins cli command to namespaces; added new cli command plugins | |||||
* | 324: Removed 'smart_option_order' from Command.__public__; cli commands ↵ | Jason Gerard DeRose | 2008-09-24 | 1 | -3/+4 | |
| | | | | help, console, and show_plugins now override Command.run() instead of Command.__call__() | |||||
* | 318: Renamed all references to 'public' module to 'frontend' | Jason Gerard DeRose | 2008-09-24 | 1 | -5/+5 | |
| | ||||||
* | 305: Ported cli.py to changes in public.py | Jason Gerard DeRose | 2008-09-21 | 1 | -17/+20 | |
| | ||||||
* | 288: CLI now uses Command.group_args() to check for required arguments | Jason Gerard DeRose | 2008-09-10 | 1 | -0/+8 | |
| | ||||||
* | 284: Removed depreciated Command.Option property; removed corresponding unit ↵ | Jason Gerard DeRose | 2008-09-10 | 1 | -1/+1 | |
| | | | | tests; updated affected code | |||||
* | 279: Fixed cli and public.Method re new Command.args attribute | Jason Gerard DeRose | 2008-09-10 | 1 | -9/+2 | |
| | ||||||
* | 276: Option.__init__(): doc is now 3rd kwarg instead of 2nd positional arg; ↵ | Jason Gerard DeRose | 2008-09-10 | 1 | -1/+1 | |
| | | | | updated unit tests and other affected code | |||||
* | 272: Add a quick positional arg experiment | Jason Gerard DeRose | 2008-09-09 | 1 | -1/+26 | |
| | ||||||
* | 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 | |
| | ||||||
* | 267: Finished builtin CLI api command | Jason Gerard DeRose | 2008-09-08 | 1 | -5/+32 | |
| | ||||||
* | 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 | 1 | -2/+2 | |
| | ||||||
* | 263: CLI.print_commands() now seperates Command subclasses from Application ↵ | Jason Gerard DeRose | 2008-09-04 | 1 | -7/+17 | |
| | | | | subclasses | |||||
* | 261: More work on demo using Option.__call__() for interactive input | Jason Gerard DeRose | 2008-09-04 | 1 | -1/+1 | |
| | ||||||
* | 260: Option.normalize() now does same conversion for multivalue as ↵ | Jason Gerard DeRose | 2008-09-04 | 1 | -7/+8 | |
| | | | | Option.convert() does | |||||
* | 258: Added some experimental features for interactively prompting for values | Jason Gerard DeRose | 2008-09-04 | 1 | -0/+24 | |
| | ||||||
* | 257: Improved help command, now parsing options with optparse | Jason Gerard DeRose | 2008-09-04 | 1 | -23/+51 | |
| | ||||||
* | 256: Fixed cli.help plugin so it looks up commands in CLI instead of API | Jason Gerard DeRose | 2008-09-04 | 1 | -5/+10 | |
| | ||||||
* | 255: CLI help, console commands now subclass from public.Application; other ↵ | Jason Gerard DeRose | 2008-09-04 | 1 | -6/+12 | |
| | | | | tweeking to make CLI utilize Application | |||||
* | 201: Added new cli command 'console' that starts a custom interactive Python ↵ | Jason Gerard DeRose | 2008-08-27 | 1 | -1/+13 | |
| | | | | console | |||||
* | 182: Renamed plublic.cmd base class to Command | Jason Gerard DeRose | 2008-08-15 | 1 | -4/+4 | |
| | ||||||
* | 150: NameSpace.__iter__() now iterates through the names, not the members; ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -2/+2 | |
| | | | | added NameSpace.__call__() method which iterates through the members; NameSpace no longer requires members to be Proxy instances; updated unit tests and affected code; cleaned up NameSpace docstrings and switch to epydoc param docstrings | |||||
* | 149: CLI.run() now does an arg.decode('utf-8') for args in sys.argv so that ↵ | Jason Gerard DeRose | 2008-08-14 | 1 | -3/+2 | |
| | | | | non-ascii characters work | |||||
* | 148: Added some basic out put for cli.help.__call__() method | Jason Gerard DeRose | 2008-08-13 | 1 | -0/+5 | |
| |