Fix cli run commands

This commit is contained in:
Patrick Jentsch 2021-09-22 14:13:59 +02:00
parent 8618e1b8bf
commit 1ccdccd0bc

View File

@ -16,7 +16,7 @@ def register(app):
"""Daemon commands.""" """Daemon commands."""
pass pass
@daemon.command() @daemon.command('run')
def run_daemon(): def run_daemon():
"""Run daemon""" """Run daemon"""
from app.daemon import Daemon from app.daemon import Daemon
@ -28,7 +28,7 @@ def register(app):
"""Test commands.""" """Test commands."""
pass pass
@test.command() @test.command('run')
def run_test(): def run_test():
"""Run unit tests.""" """Run unit tests."""
import unittest import unittest