Module: Spud::Help

Defined in:
lib/spud/help.rb

Class Method Summary collapse

Class Method Details

.print!void

This method returns an undefined value.



8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/spud/help.rb', line 8

def self.print!
  puts <<~HELP
    spud #{VERSION}
    
    usage:
      spud [options] <task> [args]
    
    options:
      -h, --help          show this help dialog
      -w, --watch <glob>  re-run task any time glob changes
      -f, --files         list parsed files
      -i, --inspect       show details about a task
  HELP
end