Class: DeadFinder

Inherits:
Thor
  • Object
show all
Defined in:
lib/deadfinder.rb

Instance Method Summary collapse

Instance Method Details

#file(filename) ⇒ Object



215
216
217
# File 'lib/deadfinder.rb', line 215

def file(filename)
  run_file filename, options
end

#pipeObject



210
211
212
# File 'lib/deadfinder.rb', line 210

def pipe
  run_pipe options
end

#sitemap(sitemap) ⇒ Object



225
226
227
# File 'lib/deadfinder.rb', line 225

def sitemap(sitemap)
  run_sitemap sitemap, options
end

#url(url) ⇒ Object



220
221
222
# File 'lib/deadfinder.rb', line 220

def url(url)
  run_url url, options
end

#versionObject



230
231
232
# File 'lib/deadfinder.rb', line 230

def version
  Logger.info "deadfinder #{VERSION}"
end