class Purdie::CLI

Public Instance Methods

fetch() click to toggle source
# File lib/purdie/cli.rb, line 15
    def fetch
      b = Bernard.new
      b.verbose = true
#      b.source_file = options[:source_file] if options[:source_file]

      begin
        b.fetch
      rescue Exception => e
        $stderr.puts "\n"
        $stderr.puts e.message
      #  exit 1
      end
    end
version() click to toggle source
# File lib/purdie/cli.rb, line 6
def version
  puts "purdie version #{VERSION}"
end