Sha256: 7bdfeefd8d91e49fd4441598b3e7da64906d6d28a4b7322d7f76162422969696

Contents?: true

Size: 370 Bytes

Versions: 20

Compression:

Stored size: 370 Bytes

Contents

require 'thor/group'

module Foreplay
  class Launcher < Thor::Group
    include Thor::Actions

    argument :mode,         type: :string,  required: true
    argument :environment,  type: :string,  required: true
    argument :filters,      type: :hash,    required: false

    def parse
      Foreplay::Engine.new(environment, filters).__send__ mode
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
foreplay-0.17.2 lib/foreplay/launcher.rb
foreplay-0.17.1 lib/foreplay/launcher.rb
foreplay-0.17.0 lib/foreplay/launcher.rb
foreplay-0.16.0 lib/foreplay/launcher.rb
foreplay-0.15.4 lib/foreplay/launcher.rb
foreplay-0.15.2 lib/foreplay/launcher.rb
foreplay-0.15.1 lib/foreplay/launcher.rb
foreplay-0.15.0 lib/foreplay/launcher.rb
foreplay-0.13.5 lib/foreplay/launcher.rb
foreplay-0.13.4 lib/foreplay/launcher.rb
foreplay-0.13.3 lib/foreplay/launcher.rb
foreplay-0.13.2 lib/foreplay/launcher.rb
foreplay-0.13.1 lib/foreplay/launcher.rb
foreplay-0.13.0 lib/foreplay/launcher.rb
foreplay-0.11.2 lib/foreplay/launcher.rb
foreplay-0.11.1 lib/foreplay/launcher.rb
foreplay-0.11.0 lib/foreplay/launcher.rb
foreplay-0.10.3 lib/foreplay/launcher.rb
foreplay-0.10.2 lib/foreplay/launcher.rb
foreplay-0.10.1 lib/foreplay/launcher.rb