Skip to content

Commit

Permalink
Merge pull request AgileVentures#55 from dcorking/desc-emails-rake
Browse files Browse the repository at this point in the history
Describe emails rake task
  • Loading branch information
tansaku committed Jun 19, 2014
2 parents eea7b3f + db7d291 commit 2c829e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tasks/emails.rake
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
begin
namespace :db do
namespace :import do
desc 'Import email addresses from a named CSV file'
task :emails, [:file] => :environment do |t, args|
# pass variables like so bundle exec rake db:import:emails[db/emails.csv]
require File.expand_path("../../config/environment", File.dirname(__FILE__))
Expand Down

0 comments on commit 2c829e3

Please sign in to comment.