mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Added 'datasette --version' support
Using http://click.pocoo.org/5/api/#click.version_option
This commit is contained in:
parent
1b04662585
commit
80ada4dbb3
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ from .utils import (
|
|||
|
||||
|
||||
@click.group(cls=DefaultGroup, default='serve', default_if_no_args=True)
|
||||
@click.version_option()
|
||||
def cli():
|
||||
"""
|
||||
Datasette!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue