summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Updating docsKevin Van Brunt2021-09-011-0/+4
|
* Updated documentationKevin Van Brunt2021-08-231-1/+1
|
* set command output now uses SimpleTable.Kevin Van Brunt2021-08-192-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.
* Added accessor methods for cmd2-specific attributes to the argparse.Action ↵Kevin Van Brunt2021-07-041-0/+26
| | | | | | class. Deprecated set_choices_provider() and set_completer() functions in favor of these new methods.
* Updated docsKevin Van Brunt2021-06-253-3/+4
|
* Updated all examples to use Cmd2ArgumentParser instead of ↵Kevin Van Brunt2021-06-172-17/+12
| | | | | | argparse.ArgumentParser. This is best practice for consistency of appearance between built-in and custom commands.
* Fixed handling of argparse's default options group name which was changed in ↵Kevin Van Brunt2021-06-171-1/+1
| | | | Python 3.10
* Fixed spelling in docKevin Van Brunt2021-06-141-1/+1
|
* Fixed Sphinx errorKevin Van Brunt2021-06-141-1/+1
|
* Updated documentation about persistent history filesKevin Van Brunt2021-06-141-5/+4
|
* Updated documentation. Added support for calling cmd2.Cmd.run_editor() with ↵Kevin Van Brunt2021-05-251-2/+1
| | | | no argument.
* Fixed allow_redirection documentationKevin Van Brunt2021-05-171-0/+1
|
* Removed cmd2.Cmd.quit_on_sigint.Kevin Van Brunt2021-04-302-20/+0
|
* Renamed silent_startup_script to silence_startup_script for clarityKevin Van Brunt2021-04-281-2/+2
|
* Replaced some pexcept() calls with perror().Kevin Van Brunt2021-04-023-4/+4
| | | | | | Converted some strings to f-strings. Fixed some grammar in error messages and docs. Increased code coverage.
* More things to make mypy happy.Eric Lin2021-04-021-0/+1
|
* Renamed use_ipython keyword parameter of cmd2.Cmd.__init__() to include_ipy.Kevin Van Brunt2021-03-302-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() dictionaryKevin Van Brunt2021-03-241-9/+4
|
* ipy command now includes all of self.py_locals in the IPython environmentKevin Van Brunt2021-03-241-13/+11
|
* Update autospec mock documentationkotfu2021-03-231-13/+37
|
* Fixed docs creation errorsKevin Van Brunt2021-03-231-0/+3
|
* No longer using -1 as an exit codeexit_codeKevin Van Brunt2021-03-231-1/+1
|
* onecmd_plus_hooks() now sets self.exit_code when a SystemExit handledKevin Van Brunt2021-03-231-0/+3
|
* Some mypy validation fixesEric Lin2021-03-181-2/+0
|
* Added link for command_definition moduleKevin Van Brunt2021-03-081-0/+2
|
* Added cmd2.exceptions.PassThroughExceptionexception_passthroughKevin Van Brunt2021-03-021-0/+3
|
* Deprecate Python 3.5Todd Leonhardt2021-02-202-4/+7
|
* Merge branch 'master' into blackTodd Leonhardt2021-02-195-20/+49
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # cmd2/__init__.py # cmd2/argparse_completer.py # cmd2/argparse_custom.py # cmd2/cmd2.py # cmd2/decorators.py # cmd2/exceptions.py # cmd2/utils.py # examples/arg_decorators.py # examples/argparse_completion.py # examples/modular_commands_main.py # tests/test_argparse_completer.py # tests/test_argparse_custom.py # tests/test_cmd2.py # tests/test_completion.py # tests/test_history.py
| * Merge branch 'master' into 2.02.0Todd Leonhardt2021-02-141-1/+1
| |\
| | * Update modular_commands.rstKory Gill2021-02-131-1/+1
| | | | | | | | | Minor fix to use cmd2 intead of cmd in example text.
| * | Merge branch 'master' into 2.0Kevin Van Brunt2021-01-294-6/+18
| |\ \ | | |/
| * | Merge branch 'master' into 2.0Kevin Van Brunt2021-01-221-1/+1
| |\ \
| * \ \ Merge branch 'master' into 2.0Todd Leonhardt2020-11-114-14/+15
| |\ \ \ | | | | | | | | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md
| * | | | Added section to completion docs about read_input() functionKevin Van Brunt2020-09-091-0/+12
| | | | |
| * | | | Merge branch '2.0' into read_inputKevin Van Brunt2020-09-091-9/+10
| |\ \ \ \
| | * \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-09-091-9/+10
| | |\ \ \ \
| * | | | | | Moved two classes from cmd2.py to utils.py.Kevin Van Brunt2020-09-092-23/+27
| | | | | | |
| * | | | | | Made CustomCompletionSettings public since it's optionally passed to public ↵Kevin Van Brunt2020-09-051-4/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | method cmd2.Cmd.complete().
| * | | | | | Merge branch '2.0' into read_inputKevin Van Brunt2020-09-031-6/+34
| |\ \ \ \ \ \ | | |/ / / / /
| | * | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-09-031-6/+34
| | |\ \ \ \ \
| * | | | | | | Fixed docs errorKevin Van Brunt2020-09-011-0/+4
| |/ / / / / /
| * | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-281-2/+2
| |\ \ \ \ \ \
| * | | | | | | Removed Namespace.__statement__Kevin Van Brunt2020-08-271-6/+2
| | | | | | | |
| * | | | | | | Merge branch 'master' into 2.0Kevin Van Brunt2020-08-273-11/+13
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-08-251-1/+17
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'master' into 2.0Kevin Van Brunt2020-08-207-8/+80
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Replaced choices_function / choices_method with choices_provider.Kevin Van Brunt2020-08-133-19/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced completer_function / completer_method with completer. ArgparseCompleter now always passes cmd2.Cmd or CommandSet instance as the self argument to choices_provider and completer functions. Moved basic_complete from utils into cmd2.Cmd class. Moved CompletionError to exceptions.py
* | | | | | | | | | | Add black for automatic code formatTodd Leonhardt2021-01-311-20/+19
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | |
* | | | | | | | | | Updated documentationmiscKevin Van Brunt2021-01-291-0/+9
| | | | | | | | | |
* | | | | | | | | | Merge branch 'master' into pr/docs/md/brokenlinkTodd Leonhardt2021-01-282-5/+8
|\ \ \ \ \ \ \ \ \ \