INNER CODE UNIT · Ruby

self

thesp0nge/dawnscanner · lib/dawn/core.rb:10

    def self.registry_db_name
      "#{File.join(registry_db_folder, 'dawnscanner.db')}"
    end
    def self.sql_log_name
      "#{File.join(registry_db_folder, 'dawnscanner-sql.log')}"
    end

    # TODO.20140326
    # All those methods must moved from here to Util class and a
    # Dawn::Core namespace must be created.
    def self.help
      puts "Usage: dawn [options] target_directory"
      printf "\nExamples:\n"
      puts "\t$ dawn a_sinatra_webapp_directory"
      puts "\t$ dawn -C the_rails_blog_engine"
      puts "\t$ dawn -C --json a_sinatra_webapp_directory"
      puts "\t$ dawn --ascii-tabular-report my_rails_blog_ecommerce"
      puts "\t$ dawn --html -F my_report.html my_rails_blog_ecommerce"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…