schema-dump doesn't need any args

This commit is contained in:
Shish 2024-01-11 01:03:09 +00:00
parent ec35cace6a
commit 36388aa7a1

View file

@ -197,7 +197,6 @@ class GraphQL extends Extension
return Command::SUCCESS;
});
$event->app->register('graphql:schema')
->addArgument('query', InputArgument::REQUIRED)
->setDescription('Print out the GraphQL schema')
->setCode(function (InputInterface $input, OutputInterface $output): int {
$schema = $this->get_schema();