Skip to content

Commit

Permalink
Update maintenance command
Browse files Browse the repository at this point in the history
  • Loading branch information
nguereza-tony committed Nov 19, 2023
1 parent 5e3b9c1 commit 948d8e2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Console/Command/MaintenanceCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function __construct(
$this->config = $config;

$this->setName('maintenance')
->setDescription('The Maintenance management command');
->setDescription('Command to manage application maintenance');

$this->addArgument('type', 'type of action [up|down]', 'up', true, true, false, function ($val) {
if (!in_array($val, ['up', 'down'])) {
Expand Down Expand Up @@ -120,6 +120,8 @@ function ($val) {
$val
));
}

return $val;
}
);
$this->addOption(
Expand All @@ -136,6 +138,8 @@ function ($val) {
$val
));
}

return $val;
}
);
$this->addOption(
Expand All @@ -159,6 +163,8 @@ function ($val) {
$val
));
}

return $val;
}
);
$this->addOption(
Expand Down

0 comments on commit 948d8e2

Please sign in to comment.