class Raykit::Console

def import(hash)

def import(hash)
    pattern=''
    pattern=hash["pattern"] if(hash.include?("pattern"))
    puts 'scanning...'
    count=REPOSITORIES.length
    REPOSITORIES.import(pattern)
    new_count=REPOSITORIES.length-count
    puts "imported #{new_count} git repositories"
end