mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 22:40:09 +01:00
mv __main__.py cli.py
This commit is contained in:
parent
792e9356f9
commit
a86e5827ab
2 changed files with 65 additions and 73 deletions
|
|
@ -4,11 +4,7 @@
|
|||
#
|
||||
# Copyright (c) 2018-2020 Manuel Barkhau (mbarkhau@gmail.com) - MIT License
|
||||
# SPDX-License-Identifier: MIT
|
||||
"""
|
||||
__main__ module for PyCalVer.
|
||||
|
||||
Enables use as module: $ python -m pycalver --version
|
||||
"""
|
||||
"""cli module for PyCalVer."""
|
||||
import io
|
||||
import sys
|
||||
import typing as typ
|
||||
|
|
@ -43,7 +39,7 @@ except ImportError:
|
|||
|
||||
click.disable_unicode_literals_warning = True
|
||||
|
||||
logger = logging.getLogger("pycalver.__main__")
|
||||
logger = logging.getLogger("pycalver.cli")
|
||||
|
||||
|
||||
_VERBOSE = 0
|
||||
|
|
@ -659,7 +655,3 @@ def bump(
|
|||
commit_message = cfg.commit_message.format(**commit_message_kwargs)
|
||||
|
||||
_try_bump(cfg, new_version, commit_message, allow_dirty)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
cli()
|
||||
Loading…
Add table
Add a link
Reference in a new issue