- update to 2.2.0:
* Fixed extra space appended to each alias by "alias list" command * New function `set_default_ap_completer_type()` * Added `ArgumentParser.get_ap_completer_type()` and `ArgumentParser.set_ap_completer_type()`. * Added `ap_completer_type` keyword arg to `Cmd2ArgumentParser.__init__()` which saves a call to `set_ap_completer_type()`. This keyword will also work with `add_parser()` when creating subcommands if the base command's parser is a `Cmd2ArgumentParser`. * New function `register_argparse_argument_parameter()` * Using `SimpleTable` in the output for the following commands * Tab completion of `CompletionItems` now includes divider row * Removed `--verbose` flag from set command since descriptions always show now. * All cmd2 built-in commands now populate `self.last_result`. * Argparse tab completer will complete remaining flag names if there are no more positionals to complete. * Updated `async_alert()` to account for `self.prompt` not matching Readline's current prompt. * Deleted ``set_choices_provider()`` and ``set_completer()`` which were deprecated in 2.1.2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmd2?expand=0&rev=87
This commit is contained in:
parent
b11720804f
commit
098697623a
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:25dbb2e9847aaa686a8a21e84e3d101db8b79f5cb992e044fc54210ab8c0ad41
|
||||
size 660849
|
3
cmd2-2.2.0.tar.gz
Normal file
3
cmd2-2.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:34cd12424d9e2835eff125146af3d9f4a4c2931c6bc5a3cea9790bd4f55756d9
|
||||
size 667076
|
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 16 21:48:02 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.2.0:
|
||||
* Fixed extra space appended to each alias by "alias list" command
|
||||
* New function `set_default_ap_completer_type()`
|
||||
* Added `ArgumentParser.get_ap_completer_type()` and
|
||||
`ArgumentParser.set_ap_completer_type()`.
|
||||
* Added `ap_completer_type` keyword arg to `Cmd2ArgumentParser.__init__()`
|
||||
which saves a call to `set_ap_completer_type()`. This keyword will also
|
||||
work with `add_parser()` when creating subcommands if the base
|
||||
command's parser is a `Cmd2ArgumentParser`.
|
||||
* New function `register_argparse_argument_parameter()`
|
||||
* Using `SimpleTable` in the output for the following commands
|
||||
* Tab completion of `CompletionItems` now includes divider row
|
||||
* Removed `--verbose` flag from set command since descriptions always show now.
|
||||
* All cmd2 built-in commands now populate `self.last_result`.
|
||||
* Argparse tab completer will complete remaining flag names if there are no
|
||||
more positionals to complete.
|
||||
* Updated `async_alert()` to account for `self.prompt` not matching Readline's
|
||||
current prompt.
|
||||
* Deleted ``set_choices_provider()`` and ``set_completer()`` which were
|
||||
deprecated in 2.1.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 16 19:57:26 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-cmd2
|
||||
Version: 2.1.2
|
||||
Version: 2.2.0
|
||||
Release: 0
|
||||
Summary: Extra features for standard library's cmd module
|
||||
License: MIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user