Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
polypixeldev committed Apr 25, 2024
1 parent 43a16f0 commit 2d03882
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/cli.rb
Expand Up @@ -8,7 +8,7 @@ module NestCLI
class Subdomain < Thor
include Thor::Actions
desc "add <name>", "Add subdomain <name>.youruser.hackclub.app to the Caddyfile"
option :no_validate, :type => :boolean, :desc => "Skip validation of your user Caddyfile. Useful if you have custom Caddy plugins not available in the system Caddy installtion."
option :no_validate, :type => :boolean, :desc => "Skip validation of your user Caddyfile. Useful if you have custom Caddy plugins not available in the system Caddy installation."
def add(name)
run "sudo /usr/local/nest/cli/add_subdomain.sh #{name} #{options[:no_validate] ? "no_validate" : ""}"
end
Expand All @@ -19,7 +19,7 @@ def remove(name)
end

desc "add42 <name>", "Add subdomain <name>.youruser.hackclub.dn42 to the Caddyfile"
option :no_validate, :type => :boolean, :desc => "Skip validation of your user Caddyfile. Useful if you have custom Caddy plugins not available in the system Caddy installtion."
option :no_validate, :type => :boolean, :desc => "Skip validation of your user Caddyfile. Useful if you have custom Caddy plugins not available in the system Caddy installation."
def add42(name)
run "sudo /usr/local/nest/cli/add42_subdomain.sh #{name} #{options[:no_validate] ? "no_validate" : ""}"
end
Expand All @@ -37,7 +37,7 @@ def self.exit_on_failure?
class Domain < Thor
include Thor::Actions
desc "add <name>", "Add a custom domain to the Caddyfile"
option :no_validate, :type => :boolean, :desc => "Skip validation of your user Caddyfile. Useful if you have custom Caddy plugins not available in the system Caddy installtion."
option :no_validate, :type => :boolean, :desc => "Skip validation of your user Caddyfile. Useful if you have custom Caddy plugins not available in the system Caddy installation."
def add(name)
run "sudo /usr/local/nest/cli/add_domain.sh #{name} #{options[:no_validate] ? "no_validate" : ""}"
end
Expand Down

0 comments on commit 2d03882

Please sign in to comment.