Sha256: 8a2e79cc1002e4c4703ff5d34608b9e37728985109b786fa310654c4f059f4c1
Contents?: true
Size: 458 Bytes
Versions: 4
Compression:
Stored size: 458 Bytes
Contents
require_relative 'services_helper' module Kontena::Cli::Services class EnvsCommand < Clamp::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions include ServicesHelper parameter "NAME", "Service name" def execute require_api_url token = require_token service = client(token).get("services/#{parse_service_id(name)}") service["env"].each do |env| puts env end end end end
Version data entries
4 entries across 4 versions & 1 rubygems