Sha256: 9a89ead390a5adab99809507150511b68eb4a39234372f1d291ee2313abf84bd
Contents?: true
Size: 1.36 KB
Versions: 7
Compression:
Stored size: 1.36 KB
Contents
module Takelage # takelage docker image tag list class DockerImageTagList < SubCommandBase include LoggingModule include SystemModule include ConfigModule include DockerCheckModule 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 tag_list_local = docker_image_tag_list_local exit false if tag_list_local == false say tag_list_local true 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 tag_list_remote = docker_image_tag_list_remote exit false if tag_list_remote == false say tag_list_remote true end end end
Version data entries
7 entries across 7 versions & 1 rubygems