Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced Quest by Pipelines #314

Merged
merged 3 commits into from
Apr 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions bin/qds.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from qds_sdk.template import TemplateCmdLine
from qds_sdk.clusterv2 import ClusterCmdLine
from qds_sdk.sensors import *
from qds_sdk.quest import QuestCmdLine
from qds_sdk.pipelines import PipelinesCmdLine
import os
import sys
import traceback
Expand Down Expand Up @@ -90,8 +90,8 @@
" action --help\n"
"\nScheduler subcommand:\n"
" scheduler --help\n"
"\nQuest subcommand:\n"
" quest --help\n"
"\nPipelines subcommand:\n"
" pipelines --help\n"
"\nTemplate subcommand:\n"
" template --help\n"
"\nAccount subcommand:\n"
Expand Down Expand Up @@ -559,7 +559,7 @@ def templatemain(args):
print(result)

def questmain(args):
result = QuestCmdLine.run(args)
result = PipelinesCmdLine.run(args)
print(result)


Expand Down Expand Up @@ -706,13 +706,13 @@ def main():
return usermain(args)
if a0 == "template":
return templatemain(args)
if a0 == "quest":
if a0 == "pipelines":
return questmain(args)

cmdset = set(CommandClasses.keys())
sys.stderr.write("First command must be one of <%s>\n" %
"|".join(cmdset.union(["cluster", "action", "scheduler", "report",
"dbtap", "role", "group", "app", "account", "nezha", "user", "template", "quest"])))
"dbtap", "role", "group", "app", "account", "nezha", "user", "template", "pipelines"])))
usage(optparser)


Expand Down
Loading