mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-06 09:28:57 +02:00
Add sample config for Magallanes' built-in commands
This commit is contained in:
@@ -21,6 +21,17 @@ use Mage\Console;
|
||||
*/
|
||||
class UnlockCommand extends AbstractCommand implements RequiresEnvironment
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->setName('Unlock command')
|
||||
->setHelpMessage('Unlocks deployment for given environment')
|
||||
->setSyntaxMessage('mage unlock to:[environment_name]')
|
||||
->addUsageExample(
|
||||
'mage unlock to:production',
|
||||
'Removes the lock form production environment deployment'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Unlocks an Environment
|
||||
* @see \Mage\Command\AbstractCommand::run()
|
||||
|
||||
Reference in New Issue
Block a user