|
235 | 235 | service(ClientManagerInterface::class), |
236 | 236 | null, |
237 | 237 | ]) |
238 | | - ->tag('console.command') |
| 238 | + ->tag('console.command', ['command' => 'league:oauth2-server:create-client']) |
239 | 239 | ->alias(CreateClientCommand::class, 'league.oauth2_server.command.create_client') |
240 | 240 |
|
241 | 241 | ->set('league.oauth2_server.command.update_client', UpdateClientCommand::class) |
242 | 242 | ->args([ |
243 | 243 | service(ClientManagerInterface::class), |
244 | 244 | ]) |
245 | | - ->tag('console.command') |
| 245 | + ->tag('console.command', ['command' => 'league:oauth2-server:update-client']) |
246 | 246 | ->alias(UpdateClientCommand::class, 'league.oauth2_server.command.update_client') |
247 | 247 |
|
248 | 248 | ->set('league.oauth2_server.command.delete_client', DeleteClientCommand::class) |
249 | 249 | ->args([ |
250 | 250 | service(ClientManagerInterface::class), |
251 | 251 | ]) |
252 | | - ->tag('console.command') |
| 252 | + ->tag('console.command', ['command' => 'league:oauth2-server:delete-client']) |
253 | 253 | ->alias(DeleteClientCommand::class, 'league.oauth2_server.command.delete_client') |
254 | 254 |
|
255 | 255 | ->set('league.oauth2_server.command.list_clients', ListClientsCommand::class) |
256 | 256 | ->args([ |
257 | 257 | service(ClientManagerInterface::class), |
258 | 258 | ]) |
259 | | - ->tag('console.command') |
| 259 | + ->tag('console.command', ['command' => 'league:oauth2-server:list-clients']) |
260 | 260 | ->alias(ListClientsCommand::class, 'league.oauth2_server.command.list_clients') |
261 | 261 |
|
262 | 262 | ->set('league.oauth2_server.command.clear_expired_tokens', ClearExpiredTokensCommand::class) |
|
265 | 265 | service(RefreshTokenManagerInterface::class), |
266 | 266 | service(AuthorizationCodeManagerInterface::class), |
267 | 267 | ]) |
268 | | - ->tag('console.command') |
| 268 | + ->tag('console.command', ['command' => 'league:oauth2-server:clear-expired-tokens']) |
269 | 269 | ->alias(ClearExpiredTokensCommand::class, 'league.oauth2_server.command.clear_expired_tokens') |
270 | 270 |
|
271 | 271 | // Utility services |
|
0 commit comments