class Takeltau::CLI
takeltau
Attributes
@return [String] bash completion code
Public Class Methods
Behave as expected by correctly reporting failure in exit status. See github.com/erikhuda/thor/wiki/Making-An-Executable
# File lib/takeltau.rb, line 253 def self.exit_on_failure? true end
Initialize takelage cli.
# File lib/takeltau.rb, line 114 def initialize(args = [], local_options = {}, configuration = {}) # Initialize thor parent class super args, local_options, configuration # Initialize global singleton log initialize_logging options[:loglevel].to_s.upcase # Initialize global singleton config initialize_config # Initialize global singleton project initialize_project # Set defaults @docker_daemon_running = false @command_available_docker = false @mutagen_daemon_available = false @command_available_mutagen = false # fylla bash completion code @bash_fylla = Fylla.bash_completion self end
Public Instance Methods
takeltau clean: {takelage::DockerContainer#clean}
# File lib/takeltau.rb, line 201 def clean Takeltau::DockerContainer.new.clean end
takeltau config: {takelage::SelfConfig#active}
# File lib/takeltau.rb, line 171 def config Takeltau::SelfConfig.new.active end
takeltau copy: {takelage::BitClipboard#copy}
# File lib/takeltau.rb, line 177 def copy(dir_or_file, scope) Takeltau::BitClipboard.new.copy dir_or_file, scope end
takeltau version: {takelage::Self#list}
# File lib/takeltau.rb, line 195 def list Takeltau::Self.new.list end
takeltau login: {takelage::DockerContainer#login}
# File lib/takeltau.rb, line 189 def login Takeltau::DockerContainer.new.login end
takeltau paste: {takelage::BitClipboard#paste}
# File lib/takeltau.rb, line 207 def paste(cid, dir) Takeltau::BitClipboard.new.paste cid, dir end
takeltau project: {takelage::InfoProject#active}
# File lib/takeltau.rb, line 183 def project Takeltau::InfoProject.new.active end
takeltau prune: {takelage::DockerContainer#prune}
# File lib/takeltau.rb, line 219 def prune Takeltau::DockerContainer.new.prune end
takeltau pull: {takelage::BitClipboard#pull}
# File lib/takeltau.rb, line 213 def pull Takeltau::BitClipboard.new.pull end
takeltau push: {takelage::BitClipboard#push}
# File lib/takeltau.rb, line 225 def push Takeltau::BitClipboard.new.push end
takeltau status: {takelage::InfoStatus#bar}
# File lib/takeltau.rb, line 231 def status Takeltau::InfoStatus.new.bar end
takeltau update: {takelage::DockerImage#update}
# File lib/takeltau.rb, line 237 def update Takeltau::DockerImage.new.update end
takeltau version: {takelage::Self#version}
# File lib/takeltau.rb, line 243 def version Takeltau::Self.new.version end