Sha256: eae93e10a8ab9da80e4a0e1f228b400add6dae07549bcc6bc9dd8e00be177ba3
Contents?: true
Size: 352 Bytes
Versions: 12
Compression:
Stored size: 352 Bytes
Contents
require_relative '__base__' module Eucalypt class CLI < Thor using Colorize desc "rake", "Run all database migrations".colorize(:grey) def rake directory = File.expand_path('.') if Eucalypt.app? directory exec "bundle exec rake db:migrate" else Eucalypt::Error.wrong_directory end end end end
Version data entries
12 entries across 12 versions & 1 rubygems