mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
add --version option
This commit is contained in:
parent
c247310dc4
commit
9d3b4c2d10
1 changed files with 2 additions and 0 deletions
|
|
@ -57,6 +57,8 @@ def _init_logging(verbose: int = 0) -> None:
|
||||||
|
|
||||||
|
|
||||||
@click.group()
|
@click.group()
|
||||||
|
@click.version_option()
|
||||||
|
@click.help_option()
|
||||||
@click.option('-v', '--verbose', count=True, help="Control log level. -vv for debug level.")
|
@click.option('-v', '--verbose', count=True, help="Control log level. -vv for debug level.")
|
||||||
def cli(verbose: int = 0):
|
def cli(verbose: int = 0):
|
||||||
"""Automatically update PyCalVer version strings on python projects."""
|
"""Automatically update PyCalVer version strings on python projects."""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue