Commit 4e4b2e94 authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

cli: replace complete-db with an override of init-db

This is made possible by droping the `with_plugins` helper
in rework which makes sub-command override impossible.
parent 9270d1bcf96d
......@@ -5,6 +5,7 @@ import webbrowser
import click
from sqlalchemy import create_engine
from rework import schema as baseschema
from import startapp
from rework_ui import schema, taskstable
......@@ -24,12 +25,13 @@ def view(db_uri):
def complete_db(dburi):
"""create the db table necessary for handling big tasks table views in the client"""
def init_db(dburi):
"initialize the database schema for rework in its own namespace"
engine = create_engine(dburi)
......@@ -21,7 +21,7 @@ setup(name='rework_ui',
entry_points={'rework.subcommands': [
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment