class PanDomain::CLI

Public Instance Methods

generate_migrations() click to toggle source
# File lib/pan_domain/cli.rb, line 40
def generate_migrations
  say_status 'start', 'Generate all migrations'

  system 'rails g human_domain:generate:migrations'

  say_status 'finish', 'Generate all migrations'
end
generate_seeds() click to toggle source
# File lib/pan_domain/cli.rb, line 49
def generate_seeds
  system 'rake human_domain:db:seed'
end
install() click to toggle source
# File lib/pan_domain/cli.rb, line 35
def install
  system 'rake pan_domain:install'
end
version() click to toggle source
# File lib/pan_domain/cli.rb, line 9
def version
  say "PanDomain #{VERSION}"
end