addCommands([ new ShowCommand($plugin_list_factory), new EnableCommand($plugin_list_factory), new DisableCommand($plugin_list_factory), ]); $app->getDefinition()->addOption( new InputOption('config', 'c', InputOption::VALUE_REQUIRED, 'Path to Psalm config file') ); $app->setDefaultCommand('show'); $app->run(); } )();