Sha256: 55d59de255d29e8275b4cd4be190ae03dd2f8244ed8800a8382fab788701d18e
Contents?: true
Size: 433 Bytes
Versions: 14
Compression:
Stored size: 433 Bytes
Contents
module Kontena::Cli::Certificate class RegisterCommand < Clamp::Command include Kontena::Cli::Common include Kontena::Cli::GridOptions parameter "EMAIL", "Email to register" def execute require_api_url token = require_token data = {email: email} response = client(token).post("certificates/#{current_grid}/register", data) puts 'Email registered to LetsEncrypt' end end end
Version data entries
14 entries across 14 versions & 1 rubygems