Methods

Class/Module Index [+]

Quicksearch

Nanoc::CLI::Commands::ValidateLinks

Public Instance Methods

run() click to toggle source
# File lib/nanoc/cli/commands/validate-links.rb, line 17
def run
  warn "The `validate-links` command is deprecated. Please use the new `check` command instead."

  checks = []
  checks << 'ilinks' if options[:internal]
  checks << 'elinks' if options[:external]
  Nanoc::CLI.run [ 'check', checks ].flatten
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.