Lines Matching defs:options
21 * Register options and arguments on the given $options object
23 * @param Options $options
26 protected function setup(Options $options)
29 $options->registerOption(
34 $options->registerOption(
40 $options->setHelp(
46 $options->registerCommand(
54 $options->registerArgument(
60 $options->registerArgument(
68 $options->registerCommand(
73 $options->registerArgument(
79 $options->registerArgument(
85 $options->registerOption(
92 $options->registerOption(
101 $options->registerCommand(
105 $options->registerArgument(
113 $options->registerCommand(
117 $options->registerArgument(
125 $options->registerCommand(
129 $options->registerArgument(
135 $options->registerArgument(
149 * Arguments and options have been parsed when this is run
151 * @param Options $options
154 protected function main(Options $options)
156 $this->force = $options->getOpt('force', false);
157 $this->username = $options->getOpt('user', $this->getUser());
159 $command = $options->getCmd();
160 $args = $options->getArgs();
173 $options->getOpt('message', ''),
174 $options->getOpt('trivial', false)
195 echo $options->help();