/** * Pass in Arguments object to set available flags, options, and commands * * @param Arguments $arguments */ public function set(Arguments $arguments) { $this->consume($arguments->getArguments()); $this->consume($arguments->getFlags()); $this->consume($arguments->getOptions()); $this->consume($arguments->getCommands()); }