Update cmd2 requirement from ~=1.2 to ~=1.3
Created by: dependabot-preview[bot]
Updates the requirements on cmd2 to permit the latest version.
Release notes
Sourced from cmd2's releases.
1.3.0 (August 4, 2020)
- Enhancements
- Added CommandSet - Enables defining a separate loadable module of commands to register/unregister with your cmd2 application.
- Other
- Marked with_argparser_and_unknown_args pending deprecation and consolidated implementation into with_argparser
Changelog
Sourced from cmd2's changelog.
1.3.0 (August 4, 2020)
- Enhancements
- Added CommandSet - Enables defining a separate loadable module of commands to register/unregister with your cmd2 application.
- Other
- Marked with_argparser_and_unknown_args pending deprecation and consolidated implementation into with_argparser
1.2.1 (July 14, 2020)
- Bug Fixes
- Relax minimum version of
importlib-metadata
to >= 1.6.0 when using Python < 3.81.2.0 (July 13, 2020)
- Bug Fixes
- Fixed
typing
module compatibility issue with Python 3.5 prior to 3.5.4- Enhancements
- Switched to getting version using
importlib.metadata
instead of usingpkg_resources
- Improves
cmd2
application launch time on systems that have a lot of Python packages onsys.path
- Added dependency on
importlib_metadata
when running on versions of Python prior to 3.81.1.0 (June 6, 2020)
- Bug Fixes
- Fixed issue where subcommand usage text could contain a subcommand alias instead of the actual name
- Fixed bug in
ArgparseCompleter
wherefill_width
could become negative iftoken_width
was large relative to the terminal width.- Enhancements
- Made
ipy
consistent withpy
in the following ways
ipy
returns whether any of the commands run in it returned True to stop command loopCmd.in_pyscript()
returns True while inipy
.- Starting
ipy
whenCmd.in_pyscript()
is already True is not allowed.with_argument_list
,with_argparser
, andwith_argparser_and_unknown_args
wrappers now passkwargs
through to their wrapped command function.- Added
table_creator
module for creating richly formatted tables. This module is in beta and subject to change.
- See table_creation documentation for an overview.
- See table_creation.py for an example.
- Added the following exceptions to the public API
SkipPostcommandHooks
- Custom exception class for when a command has a failure bad enough to skip post command hooks, but not bad enough to print the exception to the user.Cmd2ArgparseError
- ASkipPostcommandHooks
exception for when a command fails to parse its arguments. Normally argparse raises aSystemExit
exception in these cases. To avoid stopping the command loop, catch theSystemExit
and raise this instead. If you still need to run post command hooks after parsing fails, just return instead of raising an exception.- Added explicit handling of
SystemExit
. If a command raises this exception, the command loop will be gracefully stopped.1.0.2 (April 06, 2020)
- Bug Fixes
Commits
-
2c99c0d
Removed obsolete argument -
1a82b37
Marked with_arparser_and_unknown_args deprecated and consolidated -
c983aba
Removed remaining usages and examples with tox. Updated references to tox to ... -
4c0bdad
Minor formatting fixes. Injecting a function into namespace objects before pa... -
2d24953
Updated changelog -
9d30993
Now maintains a command->CommandSet mapping and passes the CommandSet -
c854ba8
Ignore plugins directory when running doc8 by itself outside of invoke -
e7b5054
Updated Pipfile to do an editable/dev install of cmd2_ext_test so that "inv p... -
4afadcf
Fix it so py.test by itself doesn't crash -
bda751a
Fix a couple doc8 warnings - Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)