lib/magellan/cli/command.rb in magellan-cli-0.2.5 vs lib/magellan/cli/command.rb in magellan-cli-0.2.6
- old
+ new
@@ -12,21 +12,21 @@
"organization" => "Organization",
"team" => "Team",
"project" => "Project",
"stage" => "Stage",
"client_version" => "ClientVersion",
- "tr" => "TransactionRouter",
- "worker" => "WorkerVersion",
- "image" => "ContainerImage",
- "container" => "ContainerInstance",
+ #"tr" => "TransactionRouter",
+ "worker" => "Worker",
+ "image" => "Image",
+ "container" => "Container",
"cloudsql" => "Cloudsql",
}.each do |name, classname|
desc "#{name} SUBCOMMAND ...ARGS", "manage #{name}"
subcommand name, ::Magellan::Cli::Resources.const_get(classname)
end
- desc "direct SUBCOMMAND ...ARGS", "send request directly"
- subcommand "direct", ::Magellan::Cli::Direct
+ #desc "direct SUBCOMMAND ...ARGS", "send request directly"
+ #subcommand "direct", ::Magellan::Cli::Direct
desc "login", "login to a Magellan API server"
def login
print "email: "
email = STDIN.gets.chomp