Method: Certman::CLI#request
- Defined in:
- lib/certman/cli.rb
#request(domain) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/certman/cli.rb', line 8 def request(domain) prompt = TTY::Prompt.new pastel = Pastel.new client = Certman::Client.new(domain, ) prompt_or_notify(client, prompt, pastel) rollback_on_interrupt(client, pastel) cert_arn = client.request puts 'Done.' puts '' puts "certificate_arn: #{pastel.cyan(cert_arn)}" puts '' end |