Sha256: c37addec7520776bcdb0913c09baf477d04bae58ee8ffa90965e638a8e9630b9
Contents?: true
Size: 1.04 KB
Versions: 28
Compression:
Stored size: 1.04 KB
Contents
require 'thor/group' module Foreplay class Setup < Thor::Group include Thor::Actions class_option :name, aliases: '-n', default: File.basename(Dir.getwd) class_option :repository, aliases: '-r' class_option :user, aliases: '-u' class_option :password class_option :keyfile class_option :private_key, aliases: '-k' class_option :port, aliases: '-p', default: 50_000 class_option :path, aliases: '-f' class_option :servers, aliases: '-s', type: :array class_option :db_adapter, aliases: '-a', default: 'postgresql' class_option :db_encoding, aliases: '-e', default: 'utf8' class_option :db_pool, default: 5 class_option :db_name, aliases: '-d' class_option :db_host, aliases: '-h' class_option :db_user class_option :db_password class_option :resque_redis def self.source_root File.dirname(__FILE__) end def config template('setup/foreplay.yml', 'config/foreplay.yml') end end end
Version data entries
28 entries across 28 versions & 1 rubygems