Sha256: a9c3aa9847b8a981fe3c923de5cfa71e58706ae5a0466f14b33ba5370b46240c
Contents?: true
Size: 534 Bytes
Versions: 77
Compression:
Stored size: 534 Bytes
Contents
require 'kontena/cli/grids/common' module Kontena::Cli::Grids::TrustedSubnets class ListCommand < Kontena::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions include Kontena::Cli::Grids::Common # the command outputs id info only anyway, this is here strictly for ignoring purposes option ['-q', '--quiet'], :flag, "Output the identifying column only", hidden: true requires_current_master def execute Array(get_grid['trusted_subnets']).map(&method(:puts)) end end end
Version data entries
77 entries across 77 versions & 2 rubygems