setName("api:logs") ->setDescription("Show previous requests and manage the log") ->addOption("clear", null, InputOption::VALUE_NONE, "Clear the log") ->addOption("write", "w", InputOption::VALUE_REQUIRED, "Write the formatted entries to a file") ; } protected function execute(InputInterface $input, OutputInterface $output) { /** @var ApiClientPlugin */ $plugin = get_plugin('com.noccy.apiclient'); return Command::SUCCESS; } }