Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Adding unit tests for text alignment functions | Kevin Van Brunt | 2019-12-09 | 1 | -16/+152 | |
| | ||||||
* | Updated center_text to support ansi escape sequences and characters with ↵ | Kevin Van Brunt | 2019-12-09 | 1 | -14/+11 | |
| | | | | | | display widths greater than 1. Also added left and right justification functions. | |||||
* | Added apply_style to pwarning() | Kevin Van Brunt | 2019-11-23 | 1 | -0/+44 | |
| | ||||||
* | Added unit test for overriding default parser | Kevin Van Brunt | 2019-11-19 | 1 | -0/+17 | |
| | ||||||
* | Fixed bug where pipe processes were not being stopped by Ctrl-C on Windows | Kevin Van Brunt | 2019-11-18 | 1 | -9/+22 | |
| | ||||||
* | Updating unit tests | Kevin Van Brunt | 2019-11-17 | 1 | -0/+12 | |
| | ||||||
* | Updating unit tests | Kevin Van Brunt | 2019-11-17 | 1 | -0/+18 | |
| | ||||||
* | Updating unit tests | Kevin Van Brunt | 2019-11-17 | 1 | -118/+74 | |
| | ||||||
* | Updating unit tests | Kevin Van Brunt | 2019-11-16 | 1 | -43/+45 | |
| | ||||||
* | Put an end time for timeout command just as a precaution | Kevin Van Brunt | 2019-11-12 | 1 | -2/+2 | |
| | ||||||
* | Fixing unit tests that were causing problems on the test servers | Kevin Van Brunt | 2019-11-12 | 1 | -13/+4 | |
| | ||||||
* | Fixing Windows unit test that hangs on AppVeyor due to a KeyboardInterrupt | Kevin Van Brunt | 2019-11-12 | 1 | -2/+13 | |
| | ||||||
* | Made some cmd2 module constants cmd2.Cmd class constants | Kevin Van Brunt | 2019-10-31 | 1 | -2/+2 | |
| | ||||||
* | Moving a bit of code around to shrink cmd2.py | Kevin Van Brunt | 2019-10-31 | 1 | -2/+2 | |
| | | | | | This includes moving cmd2 decorators into a new file called decorators.py Moved some constants from cmd2.py to constants.py | |||||
* | Merge branch 'master' into set_prog | Todd Leonhardt | 2019-10-30 | 1 | -14/+3 | |
|\ | | | | | | | | | # Conflicts: # CHANGELOG.md | |||||
| * | do_history no longer calls do_edit since edit is a command that is commonly ↵ | Kevin Van Brunt | 2019-10-30 | 1 | -14/+3 | |
| | | | | | | | | overridden | |||||
* | | Removed all instances where a parser's prog attribute was being set since ↵ | Kevin Van Brunt | 2019-10-30 | 4 | -19/+19 | |
|/ | | | | this is no longer needed | |||||
* | Added comment | Kevin Van Brunt | 2019-09-30 | 1 | -1/+1 | |
| | ||||||
* | Wrote unit tests | Kevin Van Brunt | 2019-09-30 | 1 | -9/+72 | |
| | ||||||
* | Simplifying tab completion message printing | Kevin Van Brunt | 2019-09-30 | 1 | -19/+1 | |
| | ||||||
* | Added unit tests | Kevin Van Brunt | 2019-09-24 | 1 | -0/+25 | |
| | ||||||
* | Added in_script() and in_pyscript() to cmd2.Cmd class | Kevin Van Brunt | 2019-09-23 | 1 | -1/+19 | |
| | ||||||
* | Added unit tests for CompletionError | Kevin Van Brunt | 2019-09-23 | 1 | -1/+41 | |
| | ||||||
* | No longer printing all help text for alias and macro when the subcommand is ↵ | Kevin Van Brunt | 2019-09-17 | 3 | -5/+7 | |
| | | | | omitted. Instead allow argparse to handle the error. | |||||
* | Fixed unit tests on Python versions older than 3.7 | Kevin Van Brunt | 2019-09-16 | 1 | -3/+3 | |
| | ||||||
* | Added unit test to override a parameter in a parent parser | Kevin Van Brunt | 2019-09-16 | 1 | -0/+6 | |
| | ||||||
* | Updated arg_tokens unit tests | Kevin Van Brunt | 2019-09-16 | 1 | -50/+15 | |
| | ||||||
* | Changed arg_tokens to a dictionary | Kevin Van Brunt | 2019-09-16 | 1 | -9/+9 | |
| | | | | Including tokens from parent parsers in arg_tokens when subcommands are used | |||||
* | Fixed issue where invalid subcommand token was ignored when tab completing help | Kevin Van Brunt | 2019-09-13 | 1 | -0/+1 | |
| | ||||||
* | Increased code coverage | Kevin Van Brunt | 2019-09-13 | 1 | -1/+2 | |
| | ||||||
* | Added unit tests for arg_tokens | Kevin Van Brunt | 2019-09-13 | 1 | -0/+57 | |
| | ||||||
* | Merge branch 'master' into completion_state | Kevin Van Brunt | 2019-09-07 | 1 | -1/+1 | |
|\ | ||||||
| * | Make pyperclip failure error message more specific | Todd Leonhardt | 2019-09-04 | 1 | -1/+1 | |
| | | ||||||
* | | AutoCompleter only passes parsed_args to choices/completer functions that ↵ | Kevin Van Brunt | 2019-08-27 | 1 | -5/+5 | |
| | | | | | | | | have an argument called 'parsed_args' | |||||
* | | AutoCompleter now passes parsed_args to all choices and completer functions | Kevin Van Brunt | 2019-08-22 | 1 | -5/+5 | |
| | | ||||||
* | | Added capability for an argparse-based command's completer/choice functions ↵ | Kevin Van Brunt | 2019-08-13 | 1 | -12/+4 | |
| | | | | | | | | | | | | | | to receive a namespace of all arguments parsed up to token being completed. This will make it easier to have a previous argument's value affect what data is tab-completed. | |||||
* | | Replaced AutoCompleter._positional_completers since an ArgumentParser can ↵ | Kevin Van Brunt | 2019-08-12 | 1 | -1/+1 | |
|/ | | | | | | only have one level of subcommands No longer creating AutoCompleters for all subcommands each time tab is pressed | |||||
* | No longer treating empty text scripts as an error condition | Kevin Van Brunt | 2019-08-08 | 1 | -1/+1 | |
| | ||||||
* | Do not print traceback warning text if debug is not a settable parameter | Kevin Van Brunt | 2019-08-08 | 1 | -0/+11 | |
| | ||||||
* | Merge branch 'master' into verify_command_names | Todd Leonhardt | 2019-08-07 | 1 | -1/+16 | |
|\ | ||||||
| * | Disabled tab completion during a select call. | Kevin Van Brunt | 2019-08-07 | 1 | -1/+16 | |
| | | | | | | | | Added graceful handling of Ctrl-D during select. It now reprompts the user. | |||||
* | | Verifying command names in __init__ | Kevin Van Brunt | 2019-08-07 | 1 | -0/+4 | |
|/ | ||||||
* | Removed ability for aliases and macros to share names with commands | Kevin Van Brunt | 2019-08-05 | 2 | -46/+8 | |
| | ||||||
* | Added functions to manually add choice providing functions to an argparse ↵ | Kevin Van Brunt | 2019-08-05 | 1 | -7/+18 | |
| | | | | action. | |||||
* | Updated unit tests | Kevin Van Brunt | 2019-08-02 | 1 | -7/+8 | |
| | ||||||
* | Fixed inconsistent parsing/tab completion behavior based on the value of ↵ | Kevin Van Brunt | 2019-08-02 | 4 | -18/+1 | |
| | | | | | | `allow_redirection`. This flag is only meant to be a security setting that prevents redirection of stdout and should not alter parsing logic. | |||||
* | Merge branch 'master' into make_history_directory | Kevin Van Brunt | 2019-07-30 | 1 | -4/+17 | |
|\ | ||||||
| * | Raising exception when a choices or completer function is used for an ↵ | Kevin Van Brunt | 2019-07-29 | 1 | -4/+17 | |
| | | | | | | | | argument that takes no values | |||||
* | | Added unit test | Kevin Van Brunt | 2019-07-29 | 1 | -0/+21 | |
| | | ||||||
* | | Creating directory of persistent history file if it does not exist | Kevin Van Brunt | 2019-07-29 | 1 | -2/+11 | |
|/ |