lib/mongoid/shell/commands/mongorestore.rb in mongoid-shell-0.4.5 vs lib/mongoid/shell/commands/mongorestore.rb in mongoid-shell-0.4.6

- old
+ new

@@ -4,10 +4,12 @@ class Mongorestore < Mongoid::Shell::Commands::Base include Mongoid::Shell::Properties::Primary include Mongoid::Shell::Properties::Database include Mongoid::Shell::Properties::Username include Mongoid::Shell::Properties::Password + include Mongoid::Shell::Properties::AuthenticationDatabase + include Mongoid::Shell::Properties::SSL option :host option :db option :username option :password, sensitive: true @@ -20,9 +22,11 @@ option :filter option :drop option :oplogReplay option :keepIndexVersion option :noIndexRestore + option :authenticationDatabase + option :ssl arg :restore def host @host || primary