Sha256: 23e303ab42e811f692168e5f078ad7d6a97decdb9f08e3eec24ae5c4c1aae625
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
module Takelage # takelage docker image tag latest class DockerImageTagLatest < SubCommandBase include LoggingModule include SystemModule include ConfigModule include DockerCheckModule include DockerImageTagListModule include DockerImageTagLatestModule # Initialize takelage docker image tag latest 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 latest local # desc 'local', 'Print latest local docker image tag' long_desc <<-LONGDESC.gsub("\n", "\x5") Print latest local docker image tag Print the tag of the local docker image with the highest tag. LONGDESC # Print latest local docker image tag. def local say docker_image_tag_latest_local end # # docker image tag latest remote # desc 'remote', 'Print latest remote docker image tag' long_desc <<-LONGDESC.gsub("\n", "\x5") Print latest remote docker image tag Print the tag of the remote docker image with the highest tag. LONGDESC # Print latest remote docker image tag. def remote say docker_image_tag_latest_remote end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
takelage-0.5.1 | lib/takelage/docker/image/tag/latest/cli.rb |
takelage-0.5.0 | lib/takelage/docker/image/tag/latest/cli.rb |