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.46.9 lib/takeltau/ship/ports/cli.rb
takeltau-0.46.8 lib/takeltau/ship/ports/cli.rb
takeltau-0.46.5 lib/takeltau/ship/ports/cli.rb
takeltau-0.46.1 lib/takeltau/ship/ports/cli.rb
takeltau-0.46.0 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.27 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.26 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.24 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.23 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.22 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.21 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.19 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.17 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.16 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.14 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.13 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.12 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.11 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.10 lib/takeltau/ship/ports/cli.rb
takeltau-0.45.9 lib/takeltau/ship/ports/cli.rb