Skip to content

Commit

Permalink
QUEST-608: Replaced Quest by Pipelines (#314)
Browse files Browse the repository at this point in the history
Co-authored-by: Aaditya Sharma <asharma@qubole.com>
  • Loading branch information
2 people authored and chattarajoy committed Apr 14, 2020
1 parent 702095f commit 35dcae6
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 80 deletions.
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

0 comments on commit 35dcae6

Please sign in to comment.