Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed issue in ansi.async_alert_str() which would raise IndexError if prompt ↵blank_prompt | Kevin Van Brunt | 2022-01-12 | 2 | -1/+3 |
| | | | | was blank. | ||||
* | Added 'no cover' pragma to import | Kevin Van Brunt | 2021-12-15 | 1 | -1/+1 |
| | |||||
* | Simplified import | Kevin Van Brunt | 2021-12-15 | 1 | -12/+3 |
| | |||||
* | Added broader exception handling when enabling clipboard functionality via ↵ | Kevin Van Brunt | 2021-12-15 | 3 | -7/+13 |
| | | | | pyperclip. | ||||
* | Updated change log for release2.3.3 | Kevin Van Brunt | 2021-11-29 | 1 | -1/+1 |
| | |||||
* | Added clearer exception handling to BorderedTable and SimpleTable | Kevin Van Brunt | 2021-11-24 | 3 | -2/+36 |
| | |||||
* | Fixed issue where a ns_provider could be passed None instead of its correct ↵2.3.2 | Kevin Van Brunt | 2021-11-22 | 4 | -5/+51 |
| | | | | cmd2.Cmd or CommandSet value. | ||||
* | Updated docstring2.3.1 | Kevin Van Brunt | 2021-11-18 | 1 | -2/+3 |
| | |||||
* | Added unit tests for right-aligned numbers in completion hint tables | Kevin Van Brunt | 2021-11-18 | 2 | -24/+51 |
| | |||||
* | ArgparseCompleter now sorts CompletionItems created with numerical values as ↵ | Kevin Van Brunt | 2021-11-18 | 6 | -77/+122 |
| | | | | | | | | | numbers. Completion hint tables now right-align the left column if the hints have a numerical type. Fixed issue introduced in 2.3.0 with AlternatingTable, BorderedTable, and SimpleTable that caused header alignment settings to be overridden by data alignment settings. | ||||
* | Added ability to use CompletionItems as argparse choices | Kevin Van Brunt | 2021-11-18 | 4 | -8/+118 |
| | |||||
* | Upgraded change log | Kevin Van Brunt | 2021-11-12 | 1 | -0/+4 |
| | |||||
* | Updated change log2.3.0 | Kevin Van Brunt | 2021-11-11 | 2 | -2/+2 |
| | |||||
* | Updated unit tests | Kevin Van Brunt | 2021-11-11 | 1 | -1/+5 |
| | |||||
* | Updated CommandSet unit tests | Kevin Van Brunt | 2021-11-11 | 1 | -48/+66 |
| | |||||
* | Added ability to set border background color on BorderTables and ↵ | Kevin Van Brunt | 2021-11-10 | 3 | -78/+144 |
| | | | | AlternatingTables | ||||
* | Updated change log | Kevin Van Brunt | 2021-11-09 | 1 | -3/+4 |
| | |||||
* | Added type checks to ansi.style() | Kevin Van Brunt | 2021-10-27 | 2 | -1/+17 |
| | |||||
* | Updated table example. | Kevin Van Brunt | 2021-10-26 | 3 | -79/+92 |
| | | | | | | Renamed Column settings: override_header_style -> style_header_text override_data_style -> style_data_text | ||||
* | Added ability to colorize all aspects of SimpleTables | Kevin Van Brunt | 2021-10-25 | 4 | -64/+266 |
| | |||||
* | Added unit test for Cmd.select() return values | Kevin Van Brunt | 2021-10-25 | 2 | -0/+40 |
| | |||||
* | Fixed regression in Cmd.select converting "Any" type argument to string | Benjamin George Roberts | 2021-10-25 | 1 | -2/+2 |
| | |||||
* | Added ability to colorize all aspects of BorderedTables and AlternatingTables. | Kevin Van Brunt | 2021-10-19 | 7 | -147/+239 |
| | | | | Refactored utils.align_text() to print less fill_char style characters. | ||||
* | Upgrade CI build systems to use Python 3.10 (#1151) | Todd Leonhardt | 2021-10-19 | 7 | -36/+10 |
| | | | | | | | | | | * Upgrade CI build systems to use Python 3.10 Changes include: - Switch Azure Pipelines to use Python 3.10 instead of 3.6 - Switch GitHub Actions to use Python 3.10 instead of 3.10b2 for main CI - Switch GitHub Actions to use Python 3.10 instead of 3.9 for all auxilliary CI * Fix nox file | ||||
* | Added support for 8-bit/256-colors with the cmd2.EightBitFg and ↵ | Kevin Van Brunt | 2021-10-18 | 29 | -606/+1373 |
| | | | | | | | | | | | | | | cmd2.EightBitBg classes. Added support for 24-bit/RGB colors with the cmd2.RgbFg and cmd2.RgbBg classes. Removed dependency on colorama. Deprecated cmd2.fg. Use cmd2.Fg instead. Deprecated cmd2.bg. Use cmd2.Bg instead. Changed type of ansi.allow_style from a string to an ansi.AllowStyle Enum class. Fixed bug where using choices on a Settable didn't verify that a valid choice had been entered. | ||||
* | Added settings to Column class which prevent a table from overriding ↵ | Kevin Van Brunt | 2021-10-13 | 3 | -13/+71 |
| | | | | | | | | | | existing styles in header and/or data text. These were added to support nesting an AlternatingTable within an AlternatingTable, but other custom table classes can also use these settings. AlternatingTable no longer applies background color to outer borders. This was done to improve appearance since the background color extended beyond the borders of the table. | ||||
* | Fixed AttributeError in rl_get_prompt() when prompt is None. | Kevin Van Brunt | 2021-10-11 | 3 | -26/+22 |
| | |||||
* | Updated thread name | Kevin Van Brunt | 2021-09-24 | 1 | -1/+1 |
| | |||||
* | Updated change log for 2.2.0 release2.2.0 | Kevin Van Brunt | 2021-09-14 | 1 | -1/+1 |
| | |||||
* | Updated async_alert() to account for self.prompt not matching Readline's ↵ | Kevin Van Brunt | 2021-09-14 | 4 | -51/+87 |
| | | | | current prompt. | ||||
* | Updated change log | Kevin Van Brunt | 2021-09-08 | 1 | -1/+2 |
| | |||||
* | Fixed example code | Kevin Van Brunt | 2021-09-07 | 1 | -2/+5 |
| | |||||
* | Argparse tab completer will complete remaining flag names if there are no ↵ | Kevin Van Brunt | 2021-09-07 | 3 | -3/+19 |
| | | | | more positionals to complete. | ||||
* | Updating docs | Kevin Van Brunt | 2021-09-01 | 2 | -0/+6 |
| | |||||
* | Added cmd2.Cmd method to determine what ArgparseCompleter type to use | Kevin Van Brunt | 2021-09-01 | 2 | -21/+22 |
| | |||||
* | Added ap_completer_type arg to Cmd2ArgumentParser.__init__(). | Kevin Van Brunt | 2021-09-01 | 4 | -29/+163 |
| | | | | Added unit tests for custom ArgparseCompleter | ||||
* | Refactored custom ArgparseCompleter functionality so they will now be set ↵ | Kevin Van Brunt | 2021-09-01 | 10 | -61/+131 |
| | | | | | | using methods on ArgumentParser objects. This fixes issue where subcommands did not use the correct custom ArgparseCompleter type. | ||||
* | Added self.last_result unit tests for the history command. | Kevin Van Brunt | 2021-08-25 | 1 | -9/+54 |
| | |||||
* | Added self.last_result unit tests for run_script, _relative_run_script, and ↵ | Kevin Van Brunt | 2021-08-25 | 2 | -1/+34 |
| | | | | set commands. | ||||
* | Fixed extra space appended to each alias by "alias list" command. | Kevin Van Brunt | 2021-08-25 | 4 | -8/+71 |
| | | | | Added self.last_result unit tests for alias, edit, eof, help, macro, quit, shortcuts, and run_pyscript commands. | ||||
* | Updated documentation | Kevin Van Brunt | 2021-08-23 | 1 | -1/+1 |
| | |||||
* | All cmd2 built-in commands now populate self.last_result | Kevin Van Brunt | 2021-08-23 | 3 | -8/+68 |
| | |||||
* | Merge pull request #1133 from python-cmd2/topic_width | Kevin Van Brunt | 2021-08-23 | 14 | -172/+304 |
|\ | | | | | Updated some commands to use SimpleTable in their output | ||||
| * | Merge branch 'master' into topic_width | Kevin Van Brunt | 2021-08-23 | 12 | -65/+257 |
| |\ | |/ |/| | |||||
* | | Removed DEFAULT_ARGUMENT_PARSER and DEFAULT_COMMAND_COMPLETER from __init.py__ | Kevin Van Brunt | 2021-08-23 | 2 | -12/+7 |
| | | |||||
* | | Updated documentation for setting custom parsers | Kevin Van Brunt | 2021-08-23 | 3 | -3/+8 |
| | | |||||
* | | Applied black format | Eric Lin | 2021-08-23 | 4 | -8/+14 |
| | | |||||
* | | * New function `set_default_command_completer_type()` allows developer to ↵ | Eric Lin | 2021-08-23 | 10 | -43/+230 |
| | | | | | | | | | | | | | | | | | | extend and modify the behavior of `ArgparseCompleter`. * New function `register_argparse_argument_parameter()` allows developers to specify custom parameters to be passed to the argparse parser's `add_argument()` method. These parameters will become accessible in the resulting argparse Action object when modifying `ArgparseCompleter` behavior. | ||||
| * | Updated documentationtopic_width | Kevin Van Brunt | 2021-08-19 | 1 | -0/+1 |
| | | |||||
| * | Merge branch 'master' into topic_width | Kevin Van Brunt | 2021-08-19 | 2 | -25/+2 |
| |\ | |/ |/| |