Sha256: 0d2c40e4f54c526fbd375c888c2a4b29d74298819f974c33eca033a74879383b

Contents?: true

Size: 658 Bytes

Versions: 4

Compression:

Stored size: 658 Bytes

Contents

class Jets::CLI
  class Release < Jets::Thor::Base
    desc "history", "Release history"
    paging_options(order: "desc", limit: 10)
    def history
      History.new(options).run
    end
    map list: :history

    desc "info", "Release detailed information"
    format_option(default: "info")
    def info(version = nil)
      Info.new(options.merge(version: version)).run
    end
    map show: :info

    desc "rollback VERSION", "Rollback to a previous release", hide: true
    option :yes, aliases: :y, type: :boolean, desc: "Skip are you sure prompt"
    def rollback(version)
      Rollback.new(options.merge(version: version)).run
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jets-6.0.5 lib/jets/cli/release.rb
jets-6.0.4 lib/jets/cli/release.rb
jets-6.0.3 lib/jets/cli/release.rb
jets-6.0.2 lib/jets/cli/release.rb