Class: PhilColumns::Command::Seed

Inherits:
Base
  • Object
show all
Defined in:
lib/phil_columns/command/seed.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from Output

#confirm, included, #say, #say_error, #say_ok, #say_skipping, #write

Constructor Details

This class inherits a constructor from PhilColumns::Command::Base

Instance Method Details

#executeObject



7
8
9
10
11
12
13
14
# File 'lib/phil_columns/command/seed.rb', line 7

def execute
  load_environment

  say( "- DRY RUN -", :yellow ) if config.dry_run
  say "Seeding #{method_name} to version #{config.version}", :green

  seeder.execute
end