Class: Geostats::Commands::Help
- Inherits:
-
Base
- Object
- Base
- Geostats::Commands::Help
show all
- Defined in:
- lib/geostats/commands/help.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #invoke
Instance Method Details
#run ⇒ Object
8
9
10
11
12
13
14
15
16
17
|
# File 'lib/geostats/commands/help.rb', line 8
def run
STDERR.puts "Usage: geostats <command> [...]"
STDERR.puts
STDERR.puts "Commands: init <username> <password> [<directory>]"
STDERR.puts " update [all | <code>]"
STDERR.puts " generate [<template>]"
STDERR.puts " push"
STDERR.puts " console"
STDERR.puts " set [<key>] [<value>]"
end
|
#usage ⇒ Object
4
5
6
|
# File 'lib/geostats/commands/help.rb', line 4
def usage
run
end
|