Module: Brainiac::Plugins::Zoho::Cli

Defined in:
lib/brainiac/plugins/zoho/cli.rb

Class Method Summary collapse

Class Method Details

.run(args) ⇒ Object



8
9
10
11
12
13
14
15
16
# File 'lib/brainiac/plugins/zoho/cli.rb', line 8

def run(args)
  command = args.shift
  case command
  when "setup" then cmd_setup
  when "config" then cmd_config
  when "auth" then cmd_auth
  else print_help
  end
end