Sha256: a36105c989b03722aed634d48413202a1c2ae0f8a9c1a16d9cf5a1e5eac3d8c2

Contents?: true

Size: 583 Bytes

Versions: 40

Compression:

Stored size: 583 Bytes

Contents

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

    desc "build", "Build task definitions."
    long_desc Help.text("tasks: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` folder."
    long_desc Help.text("tasks:register")
    def register
      Tasks::Register.register(:all, options)
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
ufo-4.4.3 lib/ufo/tasks.rb
ufo-4.4.2 lib/ufo/tasks.rb
ufo-4.4.1 lib/ufo/tasks.rb
ufo-4.4.0 lib/ufo/tasks.rb
ufo-4.3.1 lib/ufo/tasks.rb
ufo-4.3.0 lib/ufo/tasks.rb
ufo-4.2.0 lib/ufo/tasks.rb
ufo-4.1.10 lib/ufo/tasks.rb
ufo-4.1.9 lib/ufo/tasks.rb
ufo-4.1.8 lib/ufo/tasks.rb
ufo-4.1.7 lib/ufo/tasks.rb
ufo-4.1.6 lib/ufo/tasks.rb
ufo-4.1.5 lib/ufo/tasks.rb
ufo-4.1.4 lib/ufo/tasks.rb
ufo-4.1.2 lib/ufo/tasks.rb
ufo-4.1.1 lib/ufo/tasks.rb
ufo-4.1.0 lib/ufo/tasks.rb
ufo-4.0.3 lib/ufo/tasks.rb
ufo-4.0.2 lib/ufo/tasks.rb
ufo-4.0.1 lib/ufo/tasks.rb