Method: CICI::CLI#run_command

Defined in:
lib/cici/cli.rb

#run_commandObject



30
31
32
33
34
35
36
37
38
39
40
# File 'lib/cici/cli.rb', line 30

def run_command
  case ARGV[0]
  when 'encrypt'
    encrypt
  when 'decrypt'
    decrypt
  else
    @ui.fail('Command invalid.')
    print_help(1)
  end
end