Sha256: 172dd3996d3f2b8b6349bbd1ed57638850a387915cc2d654a9000705d2d86cbc

Contents?: true

Size: 628 Bytes

Versions: 44

Compression:

Stored size: 628 Bytes

Contents

# frozen_string_literal: true

module Takeltau
  # tau ship info
  class ShipPorts < SubCommandBase
    include LoggingModule
    include SystemModule
    include ConfigModule
    include DockerCheckDaemon
    include ShipContainerLib
    include ShipInfoLib
    include ShipPortsLib
    include ShipPortsList

    desc 'list [PROJECT]', 'Print takelship ports of a [PROJECT]'
    long_desc <<-LONGDESC.gsub("\n", "\x5")
    Print the ports that a takelship project exposes.
    LONGDESC
    # ship list: {Takeltau::ShipPorts#list}
    def list(project = 'default')
      say (ship_ports_list project).to_yaml
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
takeltau-0.44.14 lib/takeltau/ship/ports/cli.rb
takeltau-0.44.12 lib/takeltau/ship/ports/cli.rb
takeltau-0.44.11 lib/takeltau/ship/ports/cli.rb
takeltau-0.44.8 lib/takeltau/ship/ports/cli.rb