| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge branch 'master' into clipboard | kotfu | 2023-02-01 | 1 | -4/+4 |
| |\ | | | | | | | | | # Conflicts: # CHANGELOG.md | ||||
| | * | Deprecate support for Python 3.6 and remove dependency on attrs (#1257) | Todd Leonhardt | 2023-01-31 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start deprecation of Python 3.6 * Removed dependency on attrs and replaced with dataclasses * Fix typing * Added comments to assist with dropping support of Python versions in the future. --------- Co-authored-by: Kevin Van Brunt <kmvanbrunt@gmail.com> | ||||
| * | | Add documentation for allow_clipboard attribute | kotfu | 2023-01-30 | 1 | -0/+8 |
| |/ | |||||
| * | Reduced amount of style characters carried over from previous lines when ↵ | Kevin Van Brunt | 2022-02-22 | 1 | -5/+0 |
| | | | | | | | | aligning text. Also reduced amount of style characters appended to truncated text. These changes were made to reduce memory usage in certain use cases of tables (e.g. nested colored tables). | ||||
| * | Update modular_commands.rst (#1199) | Varun Mittal | 2022-02-15 | 1 | -2/+2 |
| | | | | | | | | | | * Update modular_commands.rst The args given in the example are integers. Direct concatenation to string raises errors * Changed to f-string as per review comment Co-authored-by: Todd Leonhardt <todd.leonhardt@gmail.com> | ||||
| * | Added substantial documentation concerning pyscript (#1187) | Jerrad | 2022-01-26 | 1 | -14/+413 |
| | | | | | | | | | | | | | | * Added substantial documentation concerning pyscript * Made suggested changes * final changes * fixed grammatical errors Co-authored-by: jay <you@example.com> Co-authored-by: Todd Leonhardt <todd.leonhardt@gmail.com> Co-authored-by: J A <jand@blah.blah> | ||||
| * | Added support for 8-bit/256-colors with the cmd2.EightBitFg and ↵ | Kevin Van Brunt | 2021-10-18 | 3 | -27/+25 |
| | | | | | | | | | | | | | | | 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. | ||||
| * | Updated documentation | Kevin Van Brunt | 2021-08-23 | 1 | -1/+1 |
| | | |||||
| * | set command output now uses SimpleTable. | Kevin Van Brunt | 2021-08-19 | 2 | -14/+20 |
| | | | | | | | | Tabled tab completion now includes divider row. Tab completion results for aliases, macros, and Settables wrap long fields. SimpleTable now accepts blank for the divider character. It is identical to passing None. Removed --verbose flag from set command so the descriptions always show. | ||||
| * | Updated docs | Kevin Van Brunt | 2021-06-25 | 2 | -1/+2 |
| | | |||||
| * | Updated all examples to use Cmd2ArgumentParser instead of ↵ | Kevin Van Brunt | 2021-06-17 | 1 | -16/+11 |
| | | | | | | | argparse.ArgumentParser. This is best practice for consistency of appearance between built-in and custom commands. | ||||
| * | Fixed spelling in doc | Kevin Van Brunt | 2021-06-14 | 1 | -1/+1 |
| | | |||||
| * | Updated documentation about persistent history files | Kevin Van Brunt | 2021-06-14 | 1 | -5/+4 |
| | | |||||
| * | Updated documentation. Added support for calling cmd2.Cmd.run_editor() with ↵ | Kevin Van Brunt | 2021-05-25 | 1 | -2/+1 |
| | | | | | no argument. | ||||
| * | Fixed allow_redirection documentation | Kevin Van Brunt | 2021-05-17 | 1 | -0/+1 |
| | | |||||
| * | Removed cmd2.Cmd.quit_on_sigint. | Kevin Van Brunt | 2021-04-30 | 2 | -20/+0 |
| | | |||||
| * | Renamed silent_startup_script to silence_startup_script for clarity | Kevin Van Brunt | 2021-04-28 | 1 | -2/+2 |
| | | |||||
| * | Replaced some pexcept() calls with perror(). | Kevin Van Brunt | 2021-04-02 | 2 | -3/+3 |
| | | | | | | | Converted some strings to f-strings. Fixed some grammar in error messages and docs. Increased code coverage. | ||||
| * | Renamed use_ipython keyword parameter of cmd2.Cmd.__init__() to include_ipy. | Kevin Van Brunt | 2021-03-30 | 2 | -69/+31 |
| | | | | | | | | | | | Added include_py keyword parameter to cmd2.Cmd.__init__(). If False, then the py command will not be available. Removed ability to run Python commands from the command line with py. Made banners and exit messages of Python and IPython consistent. Changed utils.is_text_file() to raise OSError if file cannot be read. | ||||
| * | Removed ipy's access to the CLI's globals() dictionary | Kevin Van Brunt | 2021-03-24 | 1 | -9/+4 |
| | | |||||
| * | ipy command now includes all of self.py_locals in the IPython environment | Kevin Van Brunt | 2021-03-24 | 1 | -13/+11 |
| | | |||||
| * | No longer using -1 as an exit codeexit_code | Kevin Van Brunt | 2021-03-23 | 1 | -1/+1 |
| | | |||||
| * | onecmd_plus_hooks() now sets self.exit_code when a SystemExit handled | Kevin Van Brunt | 2021-03-23 | 1 | -0/+3 |
| | | |||||
| * | Deprecate Python 3.5 | Todd Leonhardt | 2021-02-20 | 1 | -2/+5 |
| | | |||||
| * | Merge branch 'master' into 2.02.0 | Todd Leonhardt | 2021-02-14 | 1 | -1/+1 |
| |\ | |||||
| | * | Update modular_commands.rst | Kory Gill | 2021-02-13 | 1 | -1/+1 |
| | | | | | | | Minor fix to use cmd2 intead of cmd in example text. | ||||
| * | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-29 | 3 | -3/+12 |
| |\ \ | |/ | |||||
| | * | Updated documentationmisc | Kevin Van Brunt | 2021-01-29 | 1 | -0/+9 |
| | | | |||||
| | * | Merge branch 'master' into pr/docs/md/brokenlink | Todd Leonhardt | 2021-01-28 | 1 | -2/+2 |
| | |\ | |||||
| | | * | Fix doc in docs/features/commands.rst | Kevin "Tristate Tom" Weiss | 2021-01-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | finis should be finish. A missing double quote (") for the docstring in the `do_bail` example makes formatting incorrect. | ||||
| | * | | docs/features/modular_commands: fix broken link | Kevin "Tristate Tom" Weiss | 2021-01-28 | 1 | -1/+1 |
| | |/ | | | | | | | | | | | | | | | | | I guess the examples structure has changed since the docs. I suggest changing the broken link: https://github.com/python-cmd2/cmd2/tree/master/plugins/command_sets/examples to https://github.com/python-cmd2/cmd2/tree/master/examples/modular_commands Maybe also hiding the full link is nice. | ||||
| * | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2021-01-22 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Fix wrong superclass in doc | Kilian | 2021-01-02 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'master' into 2.0 | Todd Leonhardt | 2020-11-11 | 3 | -14/+11 |
| |\ \ | |/ | | | | | | | # Conflicts: # CHANGELOG.md | ||||
| | * | Replace with_argparser_and_unknown_args in docs | Kyle King | 2020-11-08 | 1 | -11/+8 |
| | | | |||||
| | * | Use set --verbose instead of -v in docs | Kyle King | 2020-10-31 | 1 | -2/+2 |
| | | | |||||
| | * | Fixed error in set --long, which should be set -v | Kyle King | 2020-10-31 | 1 | -2/+2 |
| | | | | | | | | | | | (Cmd) set --long Usage: set [-h] [-v] [param] [value] Error: unrecognized arguments: --long | ||||
| | * | typo | Stratos Gerakakis | 2020-10-10 | 1 | -1/+1 |
| | | | |||||
| * | | Added section to completion docs about read_input() function | Kevin Van Brunt | 2020-09-09 | 1 | -0/+12 |
| | | | |||||
| * | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-09 | 1 | -9/+10 |
| |\ \ | |/ | |||||
| | * | Updated documentation about set command | Kevin Van Brunt | 2020-09-09 | 1 | -9/+10 |
| | | | |||||
| * | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-09-03 | 1 | -6/+34 |
| |\ \ | |/ | |||||
| | * | Fixed type hints in example code1.3.9 | Kevin Van Brunt | 2020-09-03 | 1 | -1/+1 |
| | | | |||||
| | * | Documented CommandSet event handlers | Kevin Van Brunt | 2020-09-03 | 1 | -1/+29 |
| | | | |||||
| | * | Updated docs | Kevin Van Brunt | 2020-09-01 | 1 | -4/+4 |
| | | | |||||
| * | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-28 | 1 | -2/+2 |
| |\ \ | |/ | |||||
| | * | Fixed issue where subcommand added with @as_subcommand_to decorator did not ↵ | Kevin Van Brunt | 2020-08-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | display help when called with -h/--help. 'add_help=False' no longer has to be passed to parsers used in @as_subcommand_to decorator. | ||||
| * | | Removed Namespace.__statement__ | Kevin Van Brunt | 2020-08-27 | 1 | -6/+2 |
| | | | |||||
| * | | Merge branch 'master' into 2.0 | Kevin Van Brunt | 2020-08-27 | 2 | -10/+12 |
| |\ \ | |/ | |||||
| | * | The functions cmd2 adds to Namespaces (get_statement() and get_handler()) ↵ | Kevin Van Brunt | 2020-08-26 | 2 | -10/+12 |
| | | | | | | | | | | | | | | | are now Cmd2AttributeWrapper objects named cmd2_statement and cmd2_handler. This makes it easy to filter out which attributes in an argparse.Namespace were added by cmd2. | ||||
