Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed textui.print_keyval for cases when the row is a list instead of a tuple | Jason Gerard DeRose | 2008-11-14 | 1 | -2/+2 | |
| | ||||||
* | Added print_plain() and print_paragraph() methods to textui plugin and ↵ | Jason Gerard DeRose | 2008-11-14 | 1 | -42/+77 | |
| | | | | cleaned up the order of its methods | |||||
* | Added textui.prompt() method, which CLI.prompt_interactively() uses | Jason Gerard DeRose | 2008-11-13 | 1 | -5/+12 | |
| | ||||||
* | Started work on cleaning up how exceptions are caught and sys.exit() is ↵ | Jason Gerard DeRose | 2008-11-13 | 1 | -43/+54 | |
| | | | | called in ipalib.cli.CLI | |||||
* | Calling ./ipa with no command now calls Command.help() | Jason Gerard DeRose | 2008-11-12 | 1 | -24/+27 | |
| | ||||||
* | output_for_cli signature is now output_for_cli(textui, result, *args, **options) | Jason Gerard DeRose | 2008-11-12 | 1 | -1/+2 | |
| | ||||||
* | Changed calling signature of output_for_cli(); started work on 'textui' ↵ | Jason Gerard DeRose | 2008-11-12 | 1 | -30/+189 | |
| | | | | backend plugin | |||||
* | Move socket errors from the XML-RPC plugin to the client | Rob Crittenden | 2008-11-03 | 1 | -0/+4 | |
| | ||||||
* | Handle exceptions in the command-line instead of in the XMLRPC client plugin | Rob Crittenden | 2008-11-03 | 1 | -0/+10 | |
| | ||||||
* | Renamed API.bootstrap_from_options() to bootstrap_with_global_options() | Jason Gerard DeRose | 2008-10-31 | 1 | -7/+4 | |
| | ||||||
* | Reoganized global option functionality to it is easy for any script to use ↵ | Jason Gerard DeRose | 2008-10-31 | 1 | -20/+9 | |
| | | | | the environment-related global options; lite-xmlrpc.py now uses same global options | |||||
* | Added ipalib.plugins.f_misc with new 'context' Command; moved 'env' Command ↵ | Jason Gerard DeRose | 2008-10-30 | 1 | -18/+0 | |
| | | | | from cli to f_misc | |||||
* | Did some initial work for Context plugins | Jason Gerard DeRose | 2008-10-30 | 1 | -1/+1 | |
| | ||||||
* | Added an example CLI-specific env command | Jason Gerard DeRose | 2008-10-28 | 1 | -0/+16 | |
| | ||||||
* | 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 | |
| |