Browse Source

add "shut --version" option

shut
Niklas Rosenstein 10 months ago
parent
commit
a14c82748e
No known key found for this signature in database GPG Key ID: 6D269B33D25F6C6
1 changed files with 2 additions and 0 deletions
  1. + 2
    - 0
      src/shore/commands/__init__.py

+ 2
- 0
src/shore/commands/__init__.py

@ -23,6 +23,7 @@
This package implements the Shut CLI.
"""
from shore import __version__
from nr.proxy import Proxy
import click
@ -34,6 +35,7 @@ context = Proxy(lambda: click.get_current_context().obj)
@click.group()
@click.option('-v', '--verbose', count=True, help='Increase the log verbosity.')
@click.option('-q', '--quiet', is_flag=True, help='Quiet mode, wins over --verbose.')
@click.version_option(__version__)
def shut(verbose, quiet):
"""
Shut is a tool to manage the lifecycle of pure Python packages. It automates tasks such

Loading…
Cancel
Save