Class: QueryStream::Command::Top

Inherits:
Samovar::Command
  • Object
show all
Defined in:
lib/query_stream/command.rb

Overview

トップレベルコマンド

Instance Method Summary collapse

Instance Method Details

#callObject

コマンド実行



23
24
25
26
27
28
29
# File 'lib/query_stream/command.rb', line 23

def call
  if @options[:version]
    puts "query-stream #{QueryStream::VERSION}"
  else
    print_usage
  end
end