protected function hasPath(InputInterface $input) { $argument = $input->getArgument('path'); $option = $input->getOption('path'); return $argument || $option; }