Method: Cloudit::Command::Index#index

Defined in:
lib/cloudit/command/index.rb

#indexObject



6
7
8
9
10
11
12
13
14
15
# File 'lib/cloudit/command/index.rb', line 6

def index
  if @opts.version?
    str = "Cloudit version #{Cloudit::VERSION}."
  elsif @opts.help?
    str = usage
  else
    str = usage
  end
  $stdout.puts str
end