Sha256: 011b7aa3474e22d02c4c7add8b0b0ac5ac566b01da3712ffe00cd83e88804efa

Contents?: true

Size: 1.15 KB

Versions: 15

Compression:

Stored size: 1.15 KB

Contents

module Takelage

  # takelage docker image tag list
  class DockerImageTagList < SubCommandBase

    include LoggingModule
    include SystemModule
    include ConfigModule
    include DockerImageTagListModule

    # Initialize takelage docker image tag list
    def initialize(args = [], local_options = {}, configuration = {})

      # initialize thor parent class
      super args, local_options, configuration

      @docker_repo = config.active['docker_repo']
      @docker_image = config.active['docker_image']
      @docker_tagsurl = config.active['docker_tagsurl']
    end

    #
    # docker image tag list local
    #
    desc 'local', 'Print local docker image tags'
    long_desc <<-LONGDESC.gsub("\n", "\x5")
    Print local docker image tags
    LONGDESC
    # Print local docker image tags.
    def local
      say docker_image_tag_list_local
    end

    #
    # docker image tag list remote
    #
    desc 'remote', 'Print remote docker image tags'
    long_desc <<-LONGDESC.gsub("\n", "\x5")
    Print remote docker image tags
    LONGDESC
    # Print latest remote docker image tag.
    def remote
      say docker_image_tag_list_remote
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
takelage-0.4.5 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.4.4 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.4.3 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.4.2 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.4.1 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.4.0 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.3.0 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.2.1 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.2.0 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.1.5 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.1.4 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.1.3 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.1.2 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.1.1 lib/takelage/docker/image/tag/list/cli.rb
takelage-0.1.0 lib/takelage/docker/image/tag/list/cli.rb