schema-dump doesn't need any args
This commit is contained in:
parent
ec35cace6a
commit
36388aa7a1
1 changed files with 0 additions and 1 deletions
|
@ -197,7 +197,6 @@ class GraphQL extends Extension
|
||||||
return Command::SUCCESS;
|
return Command::SUCCESS;
|
||||||
});
|
});
|
||||||
$event->app->register('graphql:schema')
|
$event->app->register('graphql:schema')
|
||||||
->addArgument('query', InputArgument::REQUIRED)
|
|
||||||
->setDescription('Print out the GraphQL schema')
|
->setDescription('Print out the GraphQL schema')
|
||||||
->setCode(function (InputInterface $input, OutputInterface $output): int {
|
->setCode(function (InputInterface $input, OutputInterface $output): int {
|
||||||
$schema = $this->get_schema();
|
$schema = $this->get_schema();
|
||||||
|
|
Reference in a new issue