module Nicht
Constants
- VERSION
Public Class Methods
render_results(projects_path, search)
click to toggle source
# File lib/nicht.rb, line 21 def render_results(projects_path, search) stats = Nicht::Stats.new projects_path, search stats.render end
run(path, search = nil)
click to toggle source
# File lib/nicht.rb, line 8 def run(path, search = nil) settings = Nicht::Settings.new path begin projects_path = settings.get_path rescue Nicht::SettingsNotFound puts "Settings not found. You should create .nichtrc with settings in your home directory." rescue Nicht::SettingsNotValid puts "Settings are not valid." else render_results(projects_path, search) end end