Class: Takeltau::ShipPorts
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Takeltau::ShipPorts
- Includes:
- ConfigModule, DockerCheckDaemon, LoggingModule, ShipContainerLib, ShipInfoLib, ShipPortsLib, ShipPortsList, SystemModule
- Defined in:
- lib/takeltau/ship/ports/cli.rb
Overview
tau ship info
Instance Method Summary collapse
-
#list(project = 'default') ⇒ Object
ship list: #list.
Methods included from ShipPortsList
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
#list(project = 'default') ⇒ Object
ship list: #list
20 21 22 |
# File 'lib/takeltau/ship/ports/cli.rb', line 20 def list(project = 'default') say (ship_ports_list project).to_yaml end |