GitHub / python-cmd2/cmd2 / commits
cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 7fe289ab | Removed bottom border from verbose help table. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| e7b017e7 | Improve getting_started.py intro banner by including unicode emojis to make i... | Todd Leonhardt <t****t@g****m> | about 1 year ago | |
| 1771308c | Change intro colors for getting_started.py example to something higher contrast | Todd Leonhardt <t****t@g****m> | about 1 year ago | |
| c43d9875 |
Update examples (#1485)
Co-authored-by: Kevin Van Brunt <k****t@g****m> |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 5d49d55a | Changed mypy ignore to work on both Windows and Linux. |
Kevin Van Brunt <k****t@g****m>
Committed by: Todd Leonhardt <t****t@g****m> |
about 1 year ago | |
| 71751612 | Word wrapping long exceptions in pexcept(). |
Kevin Van Brunt <k****t@g****m>
Committed by: Todd Leonhardt <t****t@g****m> |
about 1 year ago | |
| 891c570d | Removed regex_set.txt test which was difficult to maintain |
Kevin Van Brunt <k****t@g****m>
Committed by: Todd Leonhardt <t****t@g****m> |
about 1 year ago | |
| b8a0edb0 | Simplified docstrings for the print functions which call print_to(). |
Kevin Van Brunt <k****t@g****m>
Committed by: Todd Leonhardt <t****t@g****m> |
about 1 year ago | |
| fd6011af | Reformatted cmd2 tables and help output. |
Kevin Van Brunt <k****t@g****m>
Committed by: Todd Leonhardt <t****t@g****m> |
about 1 year ago | |
| aa112e01 | Refactor: Isolate column rendering from printing. |
Kevin Van Brunt <k****t@g****m>
Committed by: Todd Leonhardt <t****t@g****m> |
about 1 year ago | |
| 18831d19 | Fix: rich-argparse help text truncation | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 13ddf698 | Updated stylize() unit test. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| fca3b955 |
Add a simple example to demonstrate the colors available in cmd2.Color (#1482)
Co-authored-by: Kevin Van Brunt <k****t@g****m> |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| cab433d9 | Corrected a comment and some type hints. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 28729a21 | Fix: Remove unused mypy ignores and fix type errors (#1481) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 8bbe6880 | Using Rich Rule for transcript output lines. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 2fe2b317 | Added unit tests for rich_utils.py. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 28296ba7 | Documented default cmd2 styles. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 6f74dd5a | Updated comments. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 14a052bc | Added conditional check to prevent rich.Text.from_ansi() bug workaround from ... | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| aa38e49d | Corrected theme management functions. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 44948e58 | Updated comments. |
Kevin Van Brunt <k****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| c8a89355 | Refactored the help functions. (#1478) |
Kevin Van Brunt <k****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 2ef7b9ae |
Refactored cmd2 to better account for our use of Rich. (#1477)
Co-authored-by: Todd Leonhardt <t****t@g****m> |
Kevin Van Brunt <k****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| db2654cc | Change utils.get_types to use inspect.get_annotations that was added in Pytho... |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 8e0a1a2d |
All tables in cmd2 are now rich-based. (#1475)
Co-authored-by: Todd Leonhardt <t****t@g****m> |
Kevin Van Brunt <k****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| a7129c5e |
Bump actions/checkout from 4 to 5 (#1474)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| e7f3313c |
Drop support for Python 3.9 and require 3.10 minimum (#1473)
Co-authored-by: Kevin Van Brunt <k****t@g****m> |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 5ac81d43 | Enabled all printing methods to support Rich objects. (#1471) |
Kevin Van Brunt <k****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 4f3ee8d9 | Add mypy type checking for Python 3.14 and use open() instead of codecs.open(... |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 37c03c59 | Added unit tests for when to redirect/capture sys.stdout. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 1578fb3e | Only redirect sys.stdout when it's the same as self.stdout. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 076d0e02 | Changed do_help() so that argparsers print their own help. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 3ee5e93e | Moved decorators._set_parser_prog() to argparse_custom.set_parser_prog(). | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| dd46c351 | Updated some help text and colors. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| c6e62291 | Update version of ruff used by pre-commit | Todd Leonhardt <t****t@g****m> | about 1 year ago | |
| f79c8dd0 | Restore macros (#1464) |
Kevin Van Brunt <k****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 353cf146 | Integrated more of rich-argparse into cmd2. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| beed0d16 | No longer setting parser's prog value in with_argparser() since it gets set i... | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 71c4130e | Add Pobshell to the "Projects using cmd2" table in README (#1461) |
pdalloz <4****z@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| ee2c9bbb | Added rich_utils module which is the foundation code for supporting Rich in t... | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 01e84cea | Updated .github/CODEOWNERS to reflect current project structure and recent ow... |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| bf9750b0 | Fixed spelling and corrected CHANGELOG entry. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 8cbf1fbe | Replace references to override_parser.py example with ones to custom_parser.py |
Todd Leonhardt <t****t@g****m>
Committed by: Kevin Van Brunt <k****t@g****m> |
about 1 year ago | |
| 3bb47c47 | All built-in commands now use a function to create their argument parser. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| acb824b9 | Removed macros. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 0937472e | Add note to README about how 2.x is feature complete (#1455) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 164d63b1 | Update everything to refer to main branch instead of master | Todd Leonhardt <t****t@g****m> | about 1 year ago | |
| 9f543ef1 | Updated CHANGELOG with a release date for 2.7.0 | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 862b1b76 | Fixed some documentation. (#1454) |
Kevin Van Brunt <k****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 5746cd76 | Add support for rich-argparse (#1453) |
Kevin Van Brunt <k****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 2433b2f8 | Simplify Python 3.14 check in argparse_custom.py (#1452) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 6aed7cde | Updated LICENSE with current year. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 66d3d8d0 | Update CHANGELOG with a release date for 2.6.2 | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| f0095e87 | Updated comment | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 20918ff8 | Added additional test for Cmd._build_parser(). | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| a8b4dbab | Refactored Cmd._build_parser() to accept a prog value. | Kevin Van Brunt <k****t@g****m> | about 1 year ago | |
| 0ff58ace | Test as well on the free-threaded version of Python 3.14 (#1450) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| eb5eb6c3 | Upgrade to ruff 0.12.0 (#1449) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 8de62275 | Prettier now applies a 100 character print width to Markdown files (#1447) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 2f22945f | Delete `Pipfile` from root since uv is now recommended over pipenv (#1445) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 491e559d | Update CHANGELOG with a release date for 2.6.1 | Todd Leonhardt <t****t@g****m> | about 1 year ago | |
| 9eaea961 | Ruggedize cmd2's runtime type annotation validation (#1442) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 8d1c82c4 | Set ruff `target-version` to the minimum supported version of Python (#1441) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 28f226ac | Update help text and documentation for history -t argument (#1440) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 493a4c8c | Added cmd2.Cmd.ppretty() pretty print output method (#1433) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| e3e51138 | Add an initial codecov.yml file to tell it to ignore test and example code (#... |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| dcda271a | Fix Codecov code coverage analysis from test data (#1434) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 5f21816a |
Bump codecov/codecov-action from 3 to 5 (#1435)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 25612d01 | Draft: Refactor GitHub Actions workflows (#1432) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| d10e4c1b | Updated CONTRIBUTING.md significantly. (#1431) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 7549c931 | Undo backwards-incompatible change in naming of cmd2.ansi.Cursor method. (#1430) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 42247bac | Enable ruff D ruleset for pydocstyle static analysis of docstring conventions... |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 71d8f577 | Started refactoring docstrings to meet pydocstyle standards (#1428) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 4ebc67a0 | Trivial whitespace change | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| bd9038b4 | Enable Ruff B ruleset for flake-bugbear (#1427) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 6ba8f325 | Enable ruff TRY ruleset for warnings related to try/except issues (#1426) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| b6973565 | Enable ruff ARG ruleset to warn about unused arguments (#1425) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| e68746b6 | Enable ruff ANN ruleset to warn about missing type annotations for arguments ... |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| eba5b808 | Replacea few old school % formating things with f-strings | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| 0f102d58 | Enable ruff RUF ruleset for Ruff-specific rules (#1423) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 56fe9ec8 | Enable ruff SIM ruleset which uses flake8-simplify rules to simplify code (#1... |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 8289d0ed | Fix a couple obvious typos in test code that is obviously never exercised but... | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| 3eccbece | Enabled 28 new Ruff linting rulesets |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| a61513e9 | Add support for Python 3.14 and remove support for Python 3.8 (#1419) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 4788e2db |
Bump astral-sh/setup-uv from 5 to 6 (#1413)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 80457634 | Suppress mypy warning (#1410) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 7db5f112 | Update CONTRIBUTING.md and Pipfile for removed dependency | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| 520000c8 | Prepare for new release to fix stable documentation | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| b49a7289 | Fix duplicated parameter tables in API docs | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| 32c54b0c | Updating CHANGELOG.md to prepare for release | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| c51ed84f | MkDocs improvements for auto-documented code using mkdocstrings (#1409) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 4ad4d6a6 | Each page of the documentation now displays when it was last updated at the b... |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| d0efdda9 | Minior improvements to some of the GitHub Actions workflows (#1406) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| ca420713 | Ensure build dependencies installed in uv dev env | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| e5008704 | Fixed bug in how "make publish" called "validate-tag" rule | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| 48fbcca9 | Fix bug in "make tag" | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| 9c2c7b4f | Added basic git pre-commit hook setup for auto-formatting (#1405) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| c5ccd25a | Fix 1-line bug in Pipfile | Todd Leonhardt <t****t@g****m> | over 1 year ago | |
| e3c9b597 | Format all files with latest version of prettier to fix some issues (#1404) |
Todd Leonhardt <t****t@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago |