Sha256: d23dcd1feaf1cb020af5da150fb9008a0e1505dff617f8cba5f5ce0fa95f1eef

Contents?: true

Size: 379 Bytes

Versions: 9

Compression:

Stored size: 379 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 cp.latest_image
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
cpflow-4.1.0 lib/command/latest_image.rb
cpflow-4.0.1 lib/command/latest_image.rb
cpflow-4.0.0 lib/command/latest_image.rb
cpflow-3.0.1 lib/command/latest_image.rb
cpflow-3.0.0 lib/command/latest_image.rb
cpl-2.2.4 lib/command/latest_image.rb
cpl-2.2.2 lib/command/latest_image.rb
cpl-2.2.1 lib/command/latest_image.rb
cpl-2.2.0 lib/command/latest_image.rb