Class: Takelage::InfoStatus
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Takelage::InfoStatus
- Includes:
- ConfigModule, DockerCheckDaemon, DockerContainerCheckExisting, DockerContainerCheckNetwork, DockerContainerCommand, DockerContainerLib, GitCheckWorkspace, InfoStatusBar, InfoStatusGPG, InfoStatusGit, InfoStatusGopass, InfoStatusLib, InfoStatusSSH, LoggingModule, MutagenCheckDaemon, SystemModule
- Defined in:
- lib/takelage/info/status/cli.rb
Overview
takelage info status
Instance Method Summary collapse
-
#bar ⇒ Object
Print status info bar.
-
#git ⇒ Object
Check git status info.
-
#gopass ⇒ Object
Check gopass status info.
-
#gpg ⇒ Object
Check gpg status info.
-
#initialize(args = [], local_options = {}, configuration = {}) ⇒ InfoStatus
constructor
Initialize info status.
-
#mutagen ⇒ Object
Check mutagen status info.
-
#ssh ⇒ Object
Check ssh status info.
Methods included from MutagenCheckDaemon
Methods included from InfoStatusBar
Methods included from InfoStatusSSH
Methods included from InfoStatusGPG
Methods included from InfoStatusGopass
Methods included from InfoStatusGit
Methods included from GitCheckWorkspace
Methods included from DockerContainerCommand
Methods included from DockerContainerCheckNetwork
#docker_container_check_network
Methods included from DockerContainerCheckExisting
#docker_container_check_existing
Methods included from DockerCheckDaemon
Methods included from ConfigModule
#config, #configured?, #initialize_config
Methods included from SystemModule
#command_available_else_error?, #command_available_else_warn?, #hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_capture, #run_and_exit, #run_and_fork, #try
Methods included from LoggingModule
Methods inherited from SubCommandBase
Constructor Details
#initialize(args = [], local_options = {}, configuration = {}) ⇒ InfoStatus
Initialize info status
24 25 26 27 28 29 30 31 32 33 |
# File 'lib/takelage/info/status/cli.rb', line 24 def initialize(args = [], = {}, configuration = {}) # initialize thor parent class super args, , configuration @workdir = Dir.getwd inside = _docker_container_lib_check_matrjoschka @hostname = inside ? ENV['HOSTNAME'] : _docker_container_lib_hostname @hostlabel = "hostname=#{@hostname}" end |
Instance Method Details
#bar ⇒ Object
Print status info bar.
43 44 45 |
# File 'lib/takelage/info/status/cli.rb', line 43 def say end |
#git ⇒ Object
Check git status info.
55 56 57 |
# File 'lib/takelage/info/status/cli.rb', line 55 def git exit info_status_git end |
#gopass ⇒ Object
Check gopass status info.
67 68 69 |
# File 'lib/takelage/info/status/cli.rb', line 67 def gopass exit info_status_gopass end |
#gpg ⇒ Object
Check gpg status info.
79 80 81 |
# File 'lib/takelage/info/status/cli.rb', line 79 def gpg exit info_status_gpg end |
#mutagen ⇒ Object
Check mutagen status info.
91 92 93 |
# File 'lib/takelage/info/status/cli.rb', line 91 def mutagen exit mutagen_check_daemon end |
#ssh ⇒ Object
Check ssh status info.
103 104 105 |
# File 'lib/takelage/info/status/cli.rb', line 103 def ssh exit info_status_ssh end |