protected function configure() { $this->setName('local:dir')->setAliases(['dir'])->setDescription('Find the local project root')->addArgument('subdir', InputArgument::OPTIONAL, "The subdirectory to find ('local', 'web' or 'shared')"); }