Class: Jekyll::Commands::Gitlab::Letsencrypt
- Inherits:
-
Jekyll::Command
- Object
- Jekyll::Command
- Jekyll::Commands::Gitlab::Letsencrypt
- Defined in:
- lib/jekyll/commands/gitlab/letsencrypt.rb
Class Method Summary collapse
Class Method Details
.init_with_program(prog) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/jekyll/commands/gitlab/letsencrypt.rb', line 5 def self.init_with_program(prog) prog.command(:letsencrypt) do |c| c.description "Setup/Renew letsencrypt certificate" c.action do |_args, _opts| Jekyll::Gitlab::Letsencrypt::Process.process! end end end |