|
434 | 434 | $application->add(new Command('hmac-sa-list')) |
435 | 435 | ->setDescription('List Cloud Storage HMAC Keys.') |
436 | 436 | ->setHelp(<<<EOF |
437 | | -The <info>%command.name%</info> command list Cloud Storage HMAC Keys. |
| 437 | +The <info>%command.name%</info> command lists Cloud Storage HMAC Keys. |
438 | 438 |
|
439 | 439 | <info>php %command.full_name% --help</info> |
440 | 440 |
|
441 | 441 | EOF |
442 | 442 | ) |
443 | | - ->addArgument('projectId', InputArgument::REQUIRED, 'The Cloud Project ID HMAC Keys to list') |
| 443 | + ->addArgument('projectId', InputArgument::REQUIRED, 'The Cloud Project ID with HMAC Keys to list') |
444 | 444 | ->setCode(function ($input, $output) { |
445 | 445 | $projectId = $input->getArgument('projectId'); |
446 | 446 | list_hmac_keys($projectId); |
|
449 | 449 | $application->add(new Command('hmac-sa-create')) |
450 | 450 | ->setDescription('Create a Cloud Storage HMAC Key.') |
451 | 451 | ->setHelp(<<<EOF |
452 | | -The <info>%command.name%</info> command create cloud storage HMAC keys. |
| 452 | +The <info>%command.name%</info> command creates Cloud Storage HMAC Keys. |
453 | 453 |
|
454 | 454 | <info>php %command.full_name% --help</info> |
455 | 455 |
|
456 | 456 | EOF |
457 | 457 | ) |
458 | | - ->addArgument('projectId', InputArgument::REQUIRED, 'The Cloud Project ID of the service account email') |
459 | | - ->addArgument('serviceAccountEmail', InputArgument::REQUIRED, 'The service account to associate new HMAC Key') |
| 458 | + ->addArgument('projectId', InputArgument::REQUIRED, 'The Cloud Project ID associated with the service account email') |
| 459 | + ->addArgument('serviceAccountEmail', InputArgument::REQUIRED, 'The service account to associate with the new HMAC Key') |
460 | 460 | ->setCode(function ($input, $output) { |
461 | 461 | $projectId = $input->getArgument('projectId'); |
462 | 462 | $serviceAccountEmail = $input->getArgument('serviceAccountEmail'); |
|
472 | 472 |
|
473 | 473 | EOF |
474 | 474 | ) |
475 | | - ->addArgument('projectId', InputArgument::REQUIRED, 'The Cloud Project Id associated to the HMAC key') |
476 | | - ->addArgument('accessId', InputArgument::REQUIRED, 'The Cloud Storage HMAC key access Id') |
477 | | - ->addOption('activate', null, InputOption::VALUE_NONE, 'Activate an HMAC key') |
478 | | - ->addOption('deactivate', null, InputOption::VALUE_NONE, 'Deactivate an HMAC key') |
479 | | - ->addOption('get', null, InputOption::VALUE_NONE, 'Get an HMAC key\'s metadata') |
480 | | - ->addOption('delete', null, InputOption::VALUE_NONE, 'Delete an HMAC key') |
| 475 | + ->addArgument('projectId', InputArgument::REQUIRED, 'The Cloud Project ID associated with the HMAC Key') |
| 476 | + ->addArgument('accessId', InputArgument::REQUIRED, 'The Cloud Storage HMAC Key access ID') |
| 477 | + ->addOption('activate', null, InputOption::VALUE_NONE, 'Activate an HMAC Key') |
| 478 | + ->addOption('deactivate', null, InputOption::VALUE_NONE, 'Deactivate an HMAC Key') |
| 479 | + ->addOption('get', null, InputOption::VALUE_NONE, 'Get an HMAC Key\'s metadata') |
| 480 | + ->addOption('delete', null, InputOption::VALUE_NONE, 'Delete an HMAC Key') |
481 | 481 | ->setCode(function ($input, $output) { |
482 | 482 | $projectId = $input->getArgument('projectId'); |
483 | 483 | $accessId = $input->getArgument('accessId'); |
|
0 commit comments