Method: Ink::Command#run!

Defined in:
lib/ink/command.rb

#run!Object



7
8
9
10
11
12
13
14
15
16
# File 'lib/ink/command.rb', line 7

def run!
  command = ARGV[0]

  unless COMMANDS.include?(command)
    help
    exit 1
  end

  send(command)
end