Sha256: 09f1c4891a49a056792093199d0f040a88770083f86d2a32e9aad0bfa5f76e12
Contents?: true
Size: 1.04 KB
Versions: 13
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.template.yml', 'config/foreplay.yml') end end end
Version data entries
13 entries across 13 versions & 1 rubygems