Sha256: 6a5595bf02d06a4336f5570a029f3afc8579af493a14d60d40418d6dfd3fc827

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

namespace :sail do
  desc "Loads default setting configurations from sail.yml"
  task :load_defaults do
    Rails.application.initialize!
    Sail::Setting.load_defaults(true)
  end

  desc "Creates sail.yml using the current state of the database"
  task :create_config_file do
    Rails.application.initialize!
    Sail::Setting.database_to_file
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sail-3.1.0 lib/tasks/sail_tasks.rake
sail-3.0.1 lib/tasks/sail_tasks.rake