Sha256: dbcecd5f2e97f188812c345e74d2dc9b84f45b0f712dd48e14a91d8bf395485b

Contents?: true

Size: 376 Bytes

Versions: 3

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true

module Command
  class LatestImage < Base
    NAME = "latest-image"
    OPTIONS = [
      app_option(required: true)
    ].freeze
    DESCRIPTION = "Displays the latest image name"
    LONG_DESCRIPTION = <<~DESC
      - Displays the latest image name
    DESC
    WITH_INFO_HEADER = false

    def call
      puts latest_image
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cpl-1.4.0 lib/command/latest_image.rb
cpl-1.3.0 lib/command/latest_image.rb
cpl-1.2.0 lib/command/latest_image.rb