summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Changed how SimpleTable creates divider when divider_char is wide. It no ↵Kevin Van Brunt2020-06-013-60/+102
| | | | longer stretches the width of the table.
* Added unit tests for base_width()Kevin Van Brunt2020-05-281-3/+54
|
* Changed SimpleTable.base_width() to a class method and added equivalent ↵Kevin Van Brunt2020-05-281-10/+30
| | | | method to BorderedTable.
* Updated argparse_completer to use TableCreator for the hint tableKevin Van Brunt2020-05-285-74/+133
|
* Merge pull request #931 from python-cmd2/branching_strategyTodd Leonhardt2020-04-2542-63/+143
|\ | | | | Added info on SemVer and branching strategy to CONTRIBUTING.md
| * Added info on semantic versioning and branching strategy to CONTRIBUTING.mdTodd Leonhardt2020-04-2442-63/+143
|/ | | | | | | Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes
* Merge pull request #929 from python-cmd2/completion_docsKevin Van Brunt2020-04-235-25/+80
|\ | | | | Completion docs
| * Completion doc updatesKevin Van Brunt2020-04-232-13/+11
| |
| * More completion doc updatesKevin Van Brunt2020-04-231-2/+2
| |
| * Updated tab completion documentationKevin Van Brunt2020-04-233-9/+48
| |
| * Documented CompletionError classKevin Van Brunt2020-04-232-4/+22
|/
* Merge pull request #928 from python-cmd2/subcmd_aliasesKevin Van Brunt2020-04-233-16/+86
|\ | | | | Fixed argparse usage text
| * Updated _set_parser_prog() so future calls to add_parser() will set the ↵Kevin Van Brunt2020-04-232-2/+13
| | | | | | | | | | | | correct prog value This makes dynamically adding subcommands after the CLI starts easier.
| * Fixed issue where subcommand usage text could contain a subcommand alias ↵Kevin Van Brunt2020-04-233-15/+74
|/ | | | instead of the actual name
* Fixed conda documentationKevin Van Brunt2020-04-231-1/+1
|
* Merge pull request #927 from python-cmd2/which_editor_testTodd Leonhardt2020-04-231-8/+3
|\ | | | | Fix unit test which made incorrect assumption about vi editor
| * Fix unit test which made incorrect assumption that vi editor would exist on ↵Todd Leonhardt2020-04-231-8/+3
|/ | | | all Linux systems
* Fix doc8 whitespace issueTodd Leonhardt2020-04-231-1/+1
|
* Merge pull request #916 from python-cmd2/table_creatorKevin Van Brunt2020-04-2318-262/+1506
|\ | | | | Initial commit of table creation API
| * Added table creation feature to change logKevin Van Brunt2020-04-221-0/+6
| |
| * Merge branch 'master' into table_creatorKevin Van Brunt2020-04-224-22/+78
| |\ | |/ |/|
* | Merge pull request #924 from python-cmd2/wrapper_kwargsKevin Van Brunt2020-04-224-22/+78
|\ \ | | | | | | Command function wrappers now pass kwargs through to wrapped function
| * | Added unit tests for wrappers passing kwargs to command functionsKevin Van Brunt2020-04-211-5/+32
| | |
| * | run_pyscript now passes a keyword arg to do_py instead of using a hidden ↵Kevin Van Brunt2020-04-212-10/+11
| | | | | | | | | | | | argparse flag
| * | argument_list and argparse wrappers now pass kwargs through to the wrapped ↵Kevin Van Brunt2020-04-201-7/+35
|/ / | | | | | | command function
| * Added unit tests for paddingKevin Van Brunt2020-04-221-0/+31
| |
| * Merge branch 'master' into table_creatorKevin Van Brunt2020-04-225-24/+57
| |\ | |/ |/|
* | Merge pull request #923 from python-cmd2/ipy_stopKevin Van Brunt2020-04-205-24/+57
|\ \ | | | | | | ipy now returns its PyBridge's stop value
| * | Updated error textKevin Van Brunt2020-04-202-5/+3
| | |
| * | cmd2 now considers ipy a pyscript environmentKevin Van Brunt2020-04-203-11/+22
| | |
| * | Consistently use :raises: instead of :raises (make sure there is a trailing ↵Todd Leonhardt2020-04-203-6/+6
| | | | | | | | | | | | colon)
| * | Fix doc buildTodd Leonhardt2020-04-201-1/+1
| | |
| * | Updated change logKevin Van Brunt2020-04-201-0/+5
| | |
| * | ipy now returns its PyBridge's stop value so the main loop can know to stop. ↵Kevin Van Brunt2020-04-201-10/+29
|/ / | | | | | | This is consistent with the py command.
| * Updating documentation for table creationKevin Van Brunt2020-04-224-3/+47
| |
| * Updated docsKevin Van Brunt2020-04-226-14/+54
| |
| * Removed tableformatter example since cmd2 now has its own table creator ↵Kevin Van Brunt2020-04-211-204/+0
| | | | | | | | library and example program
| * Updated docstrings to work with sphinxKevin Van Brunt2020-04-201-10/+12
| |
| * Added configurable padding to BorderedTable/AlternatingTableKevin Van Brunt2020-04-192-54/+105
| | | | | | | | Updated comments
| * Merge branch 'master' into table_creatorTodd Leonhardt2020-04-154-113/+97
| |\ | |/ |/|
* | Merge pull request #919 from python-cmd2/exception_handlingTodd Leonhardt2020-04-154-113/+97
|\ \ | | | | | | Exception handling
| * | 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 ↵Kevin Van Brunt2020-04-122-51/+56
| | | | | | | | | | | | | | | | | | redirection. For simplicity, it's all done in _redirect_output() and _restore_output().
| * | Simplfied _redirect_output() by raising exception instead of returning boolKevin Van Brunt2020-04-114-65/+48
| | |
| * | Simplified onecmd_plus_hooks by reducing number of calls to ↵Kevin Van Brunt2020-04-111-6/+6
|/ / | | | | | | _run_cmdfinalization_hooks()
| * Merge branch 'master' into table_creatorKevin Van Brunt2020-04-115-10/+27
| |\ | |/ |/|
* | Merge pull request #918 from python-cmd2/echo_updatesKevin Van Brunt2020-04-115-10/+27
|\ \ | | | | | | App echo updates
| * | Fixed unit test nameKevin Van Brunt2020-04-111-1/+1
| | |
| * | Made some optional arguments with defaults keyword-only.Kevin Van Brunt2020-04-115-10/+27
|/ / | | | | | | | | Added unit test for echo argument to pyscript app() command. Removed _relative_load from hidden commands since that command was renamed.
| * Initial commit of table creation APIKevin Van Brunt2020-04-0910-47/+1321
|/