module Priam::Command::Cql
Public Class Methods
run(argv, input_stream=$stdin, output_stream=$stdout)
click to toggle source
# File lib/priam/command/cql.rb, line 5 def self.run(argv, input_stream=$stdin, output_stream=$stdout) command = argv.shift case command when "create" exit_code = Priam::Command::Cql::Create.run(argv) || 0 else STDERR.puts "Invalid cql command: '#{command}'" exit_code = 1 end return exit_code end