Sha256: 089ec2e6450210f302eeebee633ebc0744eea7b59c947a5c34bd2a843d921ba1
Contents?: true
Size: 420 Bytes
Versions: 12
Compression:
Stored size: 420 Bytes
Contents
require_relative 'services_helper' module Kontena::Cli::Services class EnvsCommand < Clamp::Command include Kontena::Cli::Common 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
12 entries across 12 versions & 1 rubygems