qwandry/lib/qwandry.rb

23 lines
907 B
Ruby
Raw Normal View History

#!/usr/bin/env ruby
require 'optparse'
require 'set'
2010-08-06 00:49:12 +00:00
# Informal Spec:
#
# A User may have multiple Repositories
# A Repositories contains Packages
#
# A User will search for a repository giving a name and optional version
# Each Repository will be scanned for matching Packages
# If only one Package matches, that Package will be opened
# If more than one Package matches, then the user will be prompted to pick one
# While any two Packages share the same name their parent dir is appended
2010-08-17 04:23:42 +00:00
# If no Repository matches, then qwandry will exit with a 404 (repo not found)
2010-08-06 00:49:12 +00:00
#
module Qwandry
autoload :Launcher, "qwandry/launcher"
autoload :Repository, "qwandry/repository"
autoload :FlatRepository, "qwandry/flat_repository"
autoload :LibraryRepository, "qwandry/library_repository"
autoload :Package, "qwandry/package"
2010-08-06 00:49:12 +00:00
end