Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nopaque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SFB 1288 - INF
nopaque
Commits
1ccdccd0
Commit
1ccdccd0
authored
3 years ago
by
Patrick Jentsch
Browse files
Options
Downloads
Patches
Plain Diff
Fix cli run commands
parent
8618e1b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/cli.py
+2
-2
2 additions, 2 deletions
app/cli.py
with
2 additions
and
2 deletions
app/cli.py
+
2
−
2
View file @
1ccdccd0
...
@@ -16,7 +16,7 @@ def register(app):
...
@@ -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):
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment