Sha256: 0c0c446935e47425d8b8b747f6622d0e74b075d837f4b91ed99e158272825186
Contents?: true
Size: 514 Bytes
Versions: 53
Compression:
Stored size: 514 Bytes
Contents
module Kontena::Cli::Certificate class RequestCommand < Kontena::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions parameter "DOMAIN ...", "Domain(s) to get certificate for" def execute require_api_url token = require_token data = {domains: domain_list} spinner "Requesting certificate for #{domain_list.join(',').colorize(:cyan)} " do response = client(token).post("grids/#{current_grid}/certificates", data) end end end end
Version data entries
53 entries across 53 versions & 2 rubygems