Class: DotPlan::Command::Help

Inherits:
Object
  • Object
show all
Defined in:
lib/dotplan/command/help.rb

Class Method Summary collapse

Class Method Details

.run(*args) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/dotplan/command/help.rb', line 5

def self.run(*args)
  helpstring = <<-eos
    Usage: 
dotplan [auth | register | log | finger]
    
    If a command is omitted, you'll be dropped into $EDITOR to interact with today's .plan.

    Commands:
auth            Authenticate by entering your username and password
register        Register for a new account
log             See your recent .plans
finger <user>   Retrieve the .plan stream for <user>

eos
  puts helpstring
end