Sha256: 72b016b42946f2b29b93c3ef61125265df18709b611d9fd192e55f4b1be0bec9

Contents?: true

Size: 584 Bytes

Versions: 6

Compression:

Stored size: 584 Bytes

Contents

module Roro
  class CLI < Thor

    desc 'rollon', 'Roll a fresh development story into the current directory.'
    map 'rollon' => 'rollon'

    def rollon
      configurator = Roro::Configurators::Configurator.new
      configurator.rollon
    end

    desc 'log itineraries', 'logs all possible itineraries in specified location'
    map 'log_itineraries' => 'log_itineraries'

    def log_itineraries(location = 'test/fixtures/itineraries')
      builder = Roro::Configurators::AdventureCaseBuilder.new
      builder.log_itineraries('test/fixtures/itineraries')
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
roro-0.3.30 lib/roro/cli/rollon.rb
roro-0.3.28 lib/roro/cli/rollon.rb
roro-0.3.27 lib/roro/cli/rollon.rb
roro-0.3.25 lib/roro/cli/rollon.rb
roro-0.3.24 lib/roro/cli/rollon.rb
roro-0.3.23 lib/roro/cli/rollon.rb