summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Command.get_defaults() now returns param.default if param.type is a BoolJason Gerard DeRose2008-11-171-2/+4
|
* Started updated user_* commands to use textuiJason Gerard DeRose2008-11-171-0/+22
|
* Moved plugins command from ipalib.cli to ipalib.plugins.f_miscJason Gerard DeRose2008-11-161-19/+0
|
* Fixed textui.print_keyval for cases when the row is a list instead of a tupleJason Gerard DeRose2008-11-141-2/+2
|
* Added print_plain() and print_paragraph() methods to textui plugin and ↵Jason Gerard DeRose2008-11-141-42/+77
| | | | cleaned up the order of its methods
* Added textui.prompt() method, which CLI.prompt_interactively() usesJason Gerard DeRose2008-11-131-5/+12
|
* Started work on cleaning up how exceptions are caught and sys.exit() is ↵Jason Gerard DeRose2008-11-131-43/+54
| | | | called in ipalib.cli.CLI
* Calling ./ipa with no command now calls Command.help()Jason Gerard DeRose2008-11-121-24/+27
|
* output_for_cli signature is now output_for_cli(textui, result, *args, **options)Jason Gerard DeRose2008-11-121-1/+2
|
* Changed calling signature of output_for_cli(); started work on 'textui' ↵Jason Gerard DeRose2008-11-121-30/+189
| | | | backend plugin
* Move socket errors from the XML-RPC plugin to the clientRob Crittenden2008-11-031-0/+4
|
* Handle exceptions in the command-line instead of in the XMLRPC client pluginRob Crittenden2008-11-031-0/+10
|
* Renamed API.bootstrap_from_options() to bootstrap_with_global_options()Jason Gerard DeRose2008-10-311-7/+4
|
* Reoganized global option functionality to it is easy for any script to use ↵Jason Gerard DeRose2008-10-311-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 DeRose2008-10-301-18/+0
| | | | from cli to f_misc
* Did some initial work for Context pluginsJason Gerard DeRose2008-10-301-1/+1
|
* Added an example CLI-specific env commandJason Gerard DeRose2008-10-281-0/+16
|
* Added util.configure_logging() function; API.bootstrap() now calls ↵Jason Gerard DeRose2008-10-281-1/+1
| | | | util.configure_logging()
* API.load_plugins() no longer takes dry_run=False kwarg and instead checks in ↵Jason Gerard DeRose2008-10-271-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 againJason Gerard DeRose2008-10-271-70/+70
|
* More docstrings, functionality, and unit tests for improved CLI classJason Gerard DeRose2008-10-271-80/+166
|
* Implemented basic CLI.bootstrap(); added corresponding unit testsJason Gerard DeRose2008-10-271-22/+13
|
* Started cleanup work on CLI class, added unit tests for CLI.parse_globals()Jason Gerard DeRose2008-10-271-1/+2
|
* Started cleanup work on CLI class, added unit tests for CLI.parse_globals()Jason Gerard DeRose2008-10-271-48/+69
|
* Fix ipa command running in server_context=TrueRob Crittenden2008-10-231-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 ipaRob Crittenden2008-10-221-2/+6
|
* Gracefully handle keyboard interrupts (^C)Rob Crittenden2008-10-211-1/+4
|
* Make boolean options work like standard OptionParser booleansRob Crittenden2008-10-211-1/+6
|
* Reworked 'plugins' command to use output_for_cli()Jason Gerard DeRose2008-10-201-8/+11
|
* Removed generic Command.output_for_cli() method; CLI.run_interactive() now ↵Jason Gerard DeRose2008-10-171-1/+3
| | | | only calls output_for_cli() if it has been implemented
* Reworking Environment, moved it to config.pyMartin Nagy2008-10-171-12/+13
|
* Started roughing out user_add() using api.Backend.ldap; added ↵Jason Gerard DeRose2008-10-141-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 DeRose2008-10-131-3/+3
| | | | prompts and errors
* CLI now maps Param.cli_name to Param.nameJason Gerard DeRose2008-10-131-2/+3
|
* Implement argument parsing for the CLIMartin Nagy2008-10-081-8/+51
|
* Implement config file readingMartin Nagy2008-10-081-1/+2
|
* Environment is now subclassed from object, rather then dict. Added tests for ↵Martin Nagy2008-10-021-5/+2
| | | | Environment and config.py
* Add support for environment variables, change tests accordinglyMartin Nagy2008-09-291-0/+4
|
* 327: Improved formatting on show-api cli commandJason Gerard DeRose2008-09-241-9/+31
|
* 326: Made output of plugins cli command nicerJason Gerard DeRose2008-09-241-5/+27
|
* 325: API.finalize() now creates instance attribtue 'plugins', which is a ↵Jason Gerard DeRose2008-09-241-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 DeRose2008-09-241-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 DeRose2008-09-241-5/+5
|
* 305: Ported cli.py to changes in public.pyJason Gerard DeRose2008-09-211-17/+20
|
* 288: CLI now uses Command.group_args() to check for required argumentsJason Gerard DeRose2008-09-101-0/+8
|
* 284: Removed depreciated Command.Option property; removed corresponding unit ↵Jason Gerard DeRose2008-09-101-1/+1
| | | | tests; updated affected code
* 279: Fixed cli and public.Method re new Command.args attributeJason Gerard DeRose2008-09-101-9/+2
|
* 276: Option.__init__(): doc is now 3rd kwarg instead of 2nd positional arg; ↵Jason Gerard DeRose2008-09-101-1/+1
| | | | updated unit tests and other affected code
* 272: Add a quick positional arg experimentJason Gerard DeRose2008-09-091-1/+26
|
* 270: show-plugins now only shows namespaces with at least one memberJason Gerard DeRose2008-09-081-1/+1
|