Class: Takeltau::ShipPorts

Inherits:
SubCommandBase show all
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

Methods included from ShipPortsList

#ship_ports_list

Methods included from DockerCheckDaemon

#docker_check_daemon

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

#initialize_logging, #log

Methods inherited from SubCommandBase

banner, subcommand_prefix

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