mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
abcf022249
commit
cefd058c1c
9 changed files with 14 additions and 2460 deletions
|
|
@ -25,6 +25,7 @@ from .utils import (
|
|||
ValueAsBooleanError,
|
||||
)
|
||||
from .utils.testing import TestClient
|
||||
from .version import __version__
|
||||
|
||||
|
||||
class Config(click.ParamType):
|
||||
|
|
@ -65,7 +66,7 @@ class Config(click.ParamType):
|
|||
|
||||
|
||||
@click.group(cls=DefaultGroup, default="serve", default_if_no_args=True)
|
||||
@click.version_option()
|
||||
@click.version_option(version=__version__)
|
||||
def cli():
|
||||
"""
|
||||
Datasette!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue