Skip to content

Commit

Permalink
Set names of commands (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
M-arcus authored Jun 12, 2024
1 parent 59d2b9e commit 3cfa68d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Command/ActivatePaymentCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public function __construct(

protected function configure(): void
{
$this->setName(self::$defaultName);
$this->setDescription('Adds Mondu Payment methods to the sales channels.');
}

Expand Down
1 change: 1 addition & 0 deletions src/Command/ConfigApiTokenCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public function __construct(

protected function configure(): void
{
$this->setName(self::$defaultName);
$this->setDescription('Adds API token to plugin configuration.');
$this->addArgument(
'api_token',
Expand Down
1 change: 1 addition & 0 deletions src/Command/TestApiTokenCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public function __construct(

protected function configure(): void
{
$this->setName(self::$defaultName);
$this->setDescription('Tests if API token is valid.');
$this->addArgument(
'api_token',
Expand Down

0 comments on commit 3cfa68d

Please sign in to comment.