Sha256: 0bbf87dc703e950917d07d4c43cd0ff6d593013df37af4f1a95cc5a950a376ab

Contents?: true

Size: 582 Bytes

Versions: 11

Compression:

Stored size: 582 Bytes

Contents

module Ufo
  class Tasks < Command
    autoload :Help, 'ufo/tasks/help'
    autoload :Builder, 'ufo/tasks/builder'
    autoload :Register, 'ufo/tasks/register'

    desc "build", "builds task definitions"
    long_desc Help.build
    option :pretty, type: :boolean, default: true, desc: "Pretty format the json for the task definitions"
    def build
      Tasks::Builder.new(options).build
    end

    desc "register", "register all built task definitions in ufo/output"
    long_desc Help.register
    def register
      Tasks::Register.register(:all, options)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ufo-2.1.0 lib/ufo/tasks.rb
ufo-2.0.3 lib/ufo/tasks.rb
ufo-2.0.2 lib/ufo/tasks.rb
ufo-2.0.1 lib/ufo/tasks.rb
ufo-2.0.0 lib/ufo/tasks.rb
ufo-1.7.1 lib/ufo/tasks.rb
ufo-1.7.0 lib/ufo/tasks.rb
ufo-1.6.2 lib/ufo/tasks.rb
ufo-1.6.1 lib/ufo/tasks.rb
ufo-1.6.0 lib/ufo/tasks.rb
ufo-1.5.0 lib/ufo/tasks.rb