mirror of
https://github.com/simonw/dclient.git
synced 2026-07-23 09:24:31 +02:00
Remove query -t shortcut - so I can use it for table later, refs #16
This commit is contained in:
parent
a17b7f6e7d
commit
66a3cdd3be
2 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ def cli():
|
|||
@cli.command()
|
||||
@click.argument("url_or_alias")
|
||||
@click.argument("sql")
|
||||
@click.option("--token", "-t", help="API token")
|
||||
@click.option("--token", help="API token")
|
||||
def query(url_or_alias, sql, token):
|
||||
"""
|
||||
Run a SQL query against a Datasette database URL
|
||||
|
|
|
|||
|
|
@ -44,8 +44,8 @@ Usage: dclient query [OPTIONS] URL_OR_ALIAS SQL
|
|||
Returns a JSON array of objects
|
||||
|
||||
Options:
|
||||
-t, --token TEXT API token
|
||||
--help Show this message and exit.
|
||||
--token TEXT API token
|
||||
--help Show this message and exit.
|
||||
|
||||
```
|
||||
<!-- [[[end]]] -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue