/** * Gets the option parser instance and configures it. * * @return ConsoleOptionParser */ public function getOptionParser() { $parser = parent::getOptionParser(); $parser->description(__d('install', 'NetCommons Install Step 1'))->addOption(self::KEY_BASE_URL, array('help' => __d('install', 'Full base url. e.g.) http://localhost'), 'required' => false))->addOption(self::KEY_LANGUAGE, array('help' => __d('install', 'Current language. (en/ja)'), 'required' => false))->addOption(self::KEY_ENABLE_LANGUAGES, array('help' => __d('install', 'Enable languages. (en,ja/en/ja)'), 'required' => false)); return $parser; }
/** * Gets the option parser instance and configures it. * * @return ConsoleOptionParser */ public function getOptionParser() { $parser = parent::getOptionParser(); $parser->description(__d('install', 'NetCommons Install Step 3'))->addOption(self::KEY_DATASOURCE, array('help' => __d('install', 'Database configuration\'s datasource. (Mysql) [Mysql]'), 'required' => false))->addOption(self::KEY_HOST, array('help' => __d('install', 'Database configuration\'s host. [localhost]'), 'required' => false))->addOption(self::KEY_PORT, array('help' => __d('install', 'Database configuration\'s port. [3306]'), 'required' => false))->addOption(self::KEY_DATABASE, array('help' => __d('install', 'Database configuration\'s database. [nc3]'), 'required' => false))->addOption(self::KEY_PREFIX, array('help' => __d('install', 'Database configuration\'s prefix. [\'\']'), 'required' => false))->addOption(self::KEY_LOGIN, array('help' => __d('install', 'Database configuration\'s login.'), 'required' => false))->addOption(self::KEY_PASSWORD, array('help' => __d('install', 'Database configuration\'s password.'), 'required' => false)); return $parser; }
/** * Gets the option parser instance and configures it. * * @return ConsoleOptionParser */ public function getOptionParser() { $parser = parent::getOptionParser(); $parser->description(__d('install', 'NetCommons Install Step 6'))->addOption(self::KEY_USERNAME, array('help' => __d('install', 'Username'), 'required' => false))->addOption(self::KEY_PASSWORD, array('help' => __d('install', 'Password'), 'required' => false)); return $parser; }
/** * Gets the option parser instance and configures it. * * @return ConsoleOptionParser */ public function getOptionParser() { $parser = parent::getOptionParser(); $parser->description(__d('install', 'NetCommons Install Step 2')); return $parser; }
/** * Gets the option parser instance and configures it. * * @return ConsoleOptionParser */ public function getOptionParser() { $parser = parent::getOptionParser(); $parser->description(__d('install', 'NetCommons Install Step 2'))->addOption(self::KEY_APACHE_OWNER, array('help' => __d('install', 'Apache owner'), 'required' => false)); return $parser; }
/** * Gets the option parser instance and configures it. * * @return ConsoleOptionParser */ public function getOptionParser() { $parser = parent::getOptionParser(); $parser->description(__d('install', 'NetCommons Install Step 4'))->addOption(self::KEY_CONNECTION, array('short' => 'c', 'help' => __d('install', 'Database connection.'), 'required' => false)); return $parser; }
/** * Gets the option parser instance and configures it. * * @return ConsoleOptionParser */ public function getOptionParser() { $parser = parent::getOptionParser(); $parser->description(__d('install', 'NetCommons Install End'))->addOption(self::KEY_APACHE_OWNER, array('help' => __d('install', 'Apache owner'), 'required' => false))->addOption(self::KEY_RELEASE, array('help' => __d('install', 'Release type. Deleting ".git" and ".chef" directory'), 'required' => false)); return $parser; }
/** * Gets the option parser instance and configures it. * * @return ConsoleOptionParser */ public function getOptionParser() { $parser = parent::getOptionParser(); return $parser; }