Class: Takeltau::ShipInfo
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Takeltau::ShipInfo
- Includes:
- ConfigModule, DockerCheckDaemon, LoggingModule, ShipContainerLib, ShipInfoLib, SystemModule
- Defined in:
- lib/takeltau/ship/info/cli.rb
Overview
tau ship info
Instance Method Summary collapse
-
#takelconfig ⇒ Object
ship takelconfig: Takeltau::SelfConfig#active.
- #takelship ⇒ Object
- #version ⇒ Object
Methods included from DockerCheckDaemon
Methods included from ConfigModule
#config, #configured?, #initialize_config
Methods included from SystemModule
#command_available_else_error?, #hash_to_yaml, #read_yaml_erb_file, #read_yaml_file, #rm_fr, #run, #run_and_capture, #run_and_exit, #run_and_fork, #try, #write_file
Methods included from LoggingModule
Methods inherited from SubCommandBase
Instance Method Details
#takelconfig ⇒ Object
ship takelconfig: Takeltau::SelfConfig#active
23 24 25 |
# File 'lib/takeltau/ship/info/cli.rb', line 23 def takelconfig Takeltau::SelfConfig.new.active end |
#takelship ⇒ Object
36 37 38 |
# File 'lib/takeltau/ship/info/cli.rb', line 36 def takelship say _ship_info_lib_get_takelshipinfo.to_yaml end |
#version ⇒ Object
47 48 49 50 |
# File 'lib/takeltau/ship/info/cli.rb', line 47 def version say VERSION true end |