Lines Matching refs:options
78 * register options and arguments
79 * @param Options $options
84 protected function setup(Options $options)
111 $options->setHelp($help);
112 $options->registerOption('version', 'print version', 'v');
113 $options->registerCommand(self::METADATA_TO_DATABASE, "Replicate the file system metadata into the database");
114 $options->registerCommand(self::ANALYTICS, "Start the analytics and export optionally the data");
115 $options->registerCommand(self::PLUGINS_TO_UPDATE, "List the plugins to update");
116 $options->registerCommand(self::METADATA_TO_FRONTMATTER, "Replicate the file system metadata into the page frontmatter");
117 $options->registerCommand(self::SYNC, "Delete the non-existing pages in the database");
118 $options->registerArgument(
123 $options->registerOption(
129 $options->registerOption(
136 $options->registerOption(
143 $options->registerOption(
150 $options->registerOption(
160 * @param Options $options
163 protected function main(Options $options)
176 $args = $options->getArgs();
179 $depth = $options->getOpt('depth', 0);
180 $cmd = $options->getCmd();
186 $force = $options->getOpt(self::FORCE_OPTION, false);
187 $hostOptionValue = $options->getOpt(self::HOST_OPTION, null);
193 $portOptionName = $options->getOpt(self::PORT_OPTION, null);
207 $output = $options->getOpt('output', '');
234 echo $options->help();