diff --git a/bin/couchview b/bin/couchview index 0314aad..65fc00e 100755 --- a/bin/couchview +++ b/bin/couchview @@ -1,7 +1,7 @@ #!/usr/bin/env ruby require 'optparse' -require File.dirname(__FILE__) + "/../lib/couch_rest/commands" +require File.dirname(__FILE__) + "/../lib/couchrest" # Set defaults options = { @@ -36,12 +36,6 @@ unless (["push", "generate"].include?(options[:command]) && options[:directory] exit end -# The options hash now contains the resolved defaults -# and the overrides from the command line. - -# Call your class and send it the options here -# cr = CouchRest::FileManager.new(options[:database_name]) - case options[:command] when "push" CouchRest::Commands::Push.run(options)