mirror of
https://github.com/simonw/dclient.git
synced 2026-09-28 04:44:28 +02:00
Register as a Datasette plugin too, refs #4
This commit is contained in:
parent
d71919fe24
commit
02cf4c0cf2
2 changed files with 12 additions and 4 deletions
8
dclient/plugin.py
Normal file
8
dclient/plugin.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from datasette import hookimpl
|
||||
|
||||
|
||||
@hookimpl
|
||||
def register_commands(cli):
|
||||
from .cli import cli as dclient_cli
|
||||
|
||||
cli.add_command(dclient_cli, name="client")
|
||||
Loading…
Add table
Add a link
Reference in a new issue