Executor#
Newversion Index / Newversion / Executor
Auto-generated documentation for newversion.executor module.
Executor#
CLI commands executor.
Signature#
See also#
Executor().command_bump#
Bump release.
Arguments#
release
- Release nameincrement
- Number to increase by
Returns#
A new Version.
Signature#
See also#
Executor().command_compare#
Show source in executor.py:174
Execute compare command.
Arguments#
command
- Compare operator.other
- Version to compare to.
Returns#
Processed Version
.
Signature#
See also#
Executor().command_get#
Get version part.
Arguments#
release
- Release part name.
Returns#
Part as a string.
Signature#
See also#
Executor().command_get_version#
Show source in executor.py:197
Signature#
See also#
Executor().command_is_stable#
Show source in executor.py:164
Check whether version is stable.
Raises#
ExecutorError
- If it is not.
Signature#
Executor().command_set#
Show source in executor.py:113
Set version part.
Arguments#
release
- Release namevalue
- Value to set
Returns#
A new Version.
Signature#
See also#
Executor().command_set_version#
Show source in executor.py:203
Signature#
Executor().command_stable#
Show source in executor.py:155
Get stable non-post, non-local version from current.
Returns#
A new Version.