summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
Commit message (Expand)AuthorAgeFilesLines
* Minor formatting fixes. Injecting a function into namespace objects before pa...Eric Lin2020-08-041-7/+8
* Now maintains a command->CommandSet mapping and passes the CommandSetanselor2020-08-041-36/+104
* Added handling for disabled commands to CommandSet functionsKevin Van Brunt2020-08-041-6/+19
* Fixes to how command callables are filtered from CommandSetEric Lin2020-08-041-4/+5
* Fixed issue where we attempted to remove CommandSet from a list it was not inKevin Van Brunt2020-08-041-1/+2
* Removed sub-class and instead patch argparse._SubParsersActionEric Lin2020-08-041-3/+3
* Suggested PR Fixes.Eric Lin2020-08-041-19/+15
* Adds unit tests for sub-commands and additional commandset edge casesEric Lin2020-08-041-12/+17
* Adds support for injectable subcommands as part of CommandSetEric Lin2020-08-041-5/+94
* updated importsEric Lin2020-08-041-3/+2
* Removed support for functions outside of CommandSetsEric Lin2020-08-041-74/+11
* Added an additional check for isinstance(method, Callable) since there are sc...Eric Lin2020-08-041-1/+2
* Added more command validation. Moved some common behavior into private functi...Eric Lin2020-08-041-26/+49
* Fixes to sphinx generationEric Lin2020-08-041-1/+1
* Fixes issue with locating help_ annd complete_ functions when autoloading com...Eric Lin2020-08-041-5/+27
* add ability to remove commands and commandsetsEric Lin2020-08-041-4/+46
* Added new constructor parameter to flag whether commands should autoload. Add...Eric Lin2020-08-041-31/+83
* Some minor cleanup of how imports work. Fixed issue with help documentation f...Eric Lin2020-08-041-4/+4
* Initial implementation of modular command loadingEric Lin2020-08-041-2/+64
* Added type annotations for fields in cmd2.Cmd.Eric Lin2020-07-211-26/+27
* Fixed hook documentationKevin Van Brunt2020-07-171-4/+4
* Merge branch 'master' into hint_bugKevin Van Brunt2020-06-011-24/+30
|\
| * Removed pwarning() calls when command raises SystemExitKevin Van Brunt2020-05-281-2/+0
| * Made following changes to onecmd_plus_hooks()Kevin Van Brunt2020-05-071-17/+25
| * Added SkipPostcommandHooks exception and made Cmd2ArgparseError inherit from it.Kevin Van Brunt2020-05-071-7/+7
* | Updated argparse_completer to use TableCreator for the hint tableKevin Van Brunt2020-05-281-2/+2
|/
* Added info on semantic versioning and branching strategy to CONTRIBUTING.mdTodd Leonhardt2020-04-241-7/+4
* Merge branch 'master' into table_creatorKevin Van Brunt2020-04-221-9/+8
|\
| * run_pyscript now passes a keyword arg to do_py instead of using a hidden argp...Kevin Van Brunt2020-04-211-9/+8
* | Merge branch 'master' into table_creatorKevin Van Brunt2020-04-221-20/+46
|\ \ | |/
| * Updated error textKevin Van Brunt2020-04-201-4/+2
| * cmd2 now considers ipy a pyscript environmentKevin Van Brunt2020-04-201-8/+17
| * Consistently use :raises: instead of :raises (make sure there is a trailing c...Todd Leonhardt2020-04-201-3/+3
| * Fix doc buildTodd Leonhardt2020-04-201-1/+1
| * ipy now returns its PyBridge's stop value so the main loop can know to stop. ...Kevin Van Brunt2020-04-201-10/+29
* | Updated docsKevin Van Brunt2020-04-221-2/+2
|/
* Removed exception handling around tempfile.TemporaryFile()Kevin Van Brunt2020-04-131-5/+1
* onecmd_plus_hooks() no longer handles updating any state data related to redi...Kevin Van Brunt2020-04-121-41/+40
* Simplfied _redirect_output() by raising exception instead of returning boolKevin Van Brunt2020-04-111-38/+34
* Simplified onecmd_plus_hooks by reducing number of calls to _run_cmdfinalizat...Kevin Van Brunt2020-04-111-6/+6
* Made some optional arguments with defaults keyword-only.Kevin Van Brunt2020-04-111-3/+3
* Removed the shebang from cmd2.py which was a hangover from when that file for...Todd Leonhardt2020-04-081-1/+0
* Updated commentKevin Van Brunt2020-03-261-1/+1
* Since runcode() catches most KeyboardInterrupts, just ignore any that make th...Kevin Van Brunt2020-03-261-5/+3
* Ctrl-C now stops a running text script instead of just the current script com...Kevin Van Brunt2020-03-261-17/+33
* do_shell() now saves the return code of the command it runs in self.last_resu...Kevin Van Brunt2020-03-201-0/+3
* Added Cmd2ShlexErrorKevin Van Brunt2020-03-121-8/+11
* Changed name of exception class as requested in code reviewKevin Van Brunt2020-03-051-2/+2
* Prevent postcmd_hook from running when argparse failsKevin Van Brunt2020-03-051-8/+7
* Making build_settables() public againKevin Van Brunt2020-02-281-3/+3