-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wip add cli log10 feedback or log10 feedback-task create
- Loading branch information
1 parent
6cb9a5c
commit df7a078
Showing
4 changed files
with
53 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import click | ||
|
||
from log10.feedback.feedback import create_feedback | ||
from log10.feedback.feedback_task import create_feedback_task | ||
|
||
|
||
@click.group() | ||
def cli(): | ||
pass | ||
|
||
|
||
@click.group() | ||
def feedback(): | ||
pass | ||
|
||
|
||
@click.group() | ||
def feedback_task(): | ||
pass | ||
|
||
|
||
cli.add_command(feedback) | ||
feedback.add_command(create_feedback, "create") | ||
cli.add_command(feedback_task) | ||
feedback_task.add_command(create_feedback_task, "create") | ||
|
||
if __name__ == "__main__": | ||
cli() | ||
|
||
|
||
# cli.add_command(feedback.create_feedback) | ||
# cli.add_command(feedback_task.create_feedback_task) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters