lib/neetob/cli/neeto_deploy/commands.rb in neetob-0.5.12 vs lib/neetob/cli/neeto_deploy/commands.rb in neetob-0.5.13
- old
+ new
@@ -2,10 +2,11 @@
require "thor"
require_relative "config_vars/commands"
require_relative "./autoscaling_config"
require_relative "./scheduled_exports"
+require_relative "./certificates"
module Neetob
class CLI
module NeetoDeploy
class Commands < Thor
@@ -20,9 +21,15 @@
desc "scheduled_exports", "Get the scheduled exports setting of an app's primary database deployed on NeetoDeploy"
option :app, type: :string, aliases: :a, desc: "App name"
def scheduled_exports
ScheduledExports.new(options[:app]).run
+ end
+
+ desc "certificates", "Get the certificates for an app deployed on NeetoDeploy"
+ option :app, type: :string, aliases: :a, desc: "App name"
+ def certificates
+ Certificates.new(options[:app]).run
end
end
end
end
end