Skip to content

Commit

Permalink
Describe rake db:import:emails[file]
Browse files Browse the repository at this point in the history
so that it is listed by `rake -T`
  • Loading branch information
dcorking committed Jun 18, 2014
1 parent d12fb19 commit db7d291
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 db7d291

Please sign in to comment.