Method: WPRoot::CLI#initialize

Defined in:
lib/wproot/cli.rb

#initialize(argv) ⇒ CLI

Returns a new instance of CLI.



3
4
5
6
7
8
# File 'lib/wproot/cli.rb', line 3

def initialize(argv)
  case argv.shift
  when 'watch'
    watch File.expand_path('.')
  end
end