Method: Pupu::CLI#initialize
- Defined in:
- lib/pupu/cli.rb
#initialize(args, options = Hash.new) ⇒ CLI
Returns a new instance of CLI.
44 45 46 47 48 49 50 51 52 |
# File 'lib/pupu/cli.rb', line 44 def initialize(args, = Hash.new) @args, = args, self.detect self.load_config self.parse_argv self.check_setup note "Using media directory: #{::Pupu.media_root}" note "Using strategy: #{::Pupu.strategy}" end |