We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b85dcd commit cabff1eCopy full SHA for cabff1e
system/Commands/Encryption/GenerateKey.php
@@ -89,7 +89,7 @@ public function run(array $params)
89
CLI::write($encodedKey, 'yellow');
90
CLI::newLine();
91
92
- return EXIT_ERROR;
+ return EXIT_SUCCESS;
93
}
94
95
if (! $this->setNewEncryptionKey($encodedKey, $params)) {
system/Commands/Generators/Views/command.tpl.php
@@ -68,9 +68,11 @@ public function run(array $params)
68
$this->directory = 'Commands';
69
$this->template = 'command.tpl.php';
70
71
- $this->execute($params);
+ $this->generateClass($params);
72
<?php else: ?>
73
- //
+ // your command logic here
74
<?php endif ?>
75
+
76
77
78
0 commit comments