Class: Florby::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/florby/cli.rb

Class Method Summary collapse

Class Method Details

.run(args) ⇒ Object



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/florby/cli.rb', line 6

def self.run(args)
  subcommand = args.shift

  case subcommand
  when "build"
    Florby::Builder.run
  when "server"
    Florby::Server.run
  else
    puts "unknown command"
  end
end