Class: Gzr::Commands::Query

Inherits:
SubCommandBase show all
Defined in:
lib/gzr/commands/query.rb,
lib/gzr/commands/query/runquery.rb

Defined Under Namespace

Classes: RunQuery

Instance Method Summary collapse

Methods inherited from SubCommandBase

banner, subcommand_prefix

Instance Method Details

#runquery(query_def) ⇒ Object



39
40
41
42
43
44
45
46
# File 'lib/gzr/commands/query.rb', line 39

def runquery(query_def)
  if options[:help]
    invoke :help, ['runquery']
  else
    require_relative 'query/runquery'
    Gzr::Commands::Query::RunQuery.new(query_def,options).execute
  end
end