@gravirei/reis 1.0.15 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/reis.js +3 -2
- package/lib/commands/uninstall.js +3 -3
- package/package.json +1 -1
package/bin/reis.js
CHANGED
|
@@ -228,8 +228,9 @@ program
|
|
|
228
228
|
program
|
|
229
229
|
.command('uninstall')
|
|
230
230
|
.description('Uninstall REIS')
|
|
231
|
-
.action(() => {
|
|
232
|
-
|
|
231
|
+
.action(async () => {
|
|
232
|
+
const uninstallCmd = require('../lib/commands/uninstall');
|
|
233
|
+
await uninstallCmd({});
|
|
233
234
|
});
|
|
234
235
|
|
|
235
236
|
// Default action (no command)
|
|
@@ -11,7 +11,7 @@ const os = require('os');
|
|
|
11
11
|
*/
|
|
12
12
|
module.exports = async function(args) {
|
|
13
13
|
// Show banner
|
|
14
|
-
console.log(chalk.
|
|
14
|
+
console.log(chalk.red.bold(`
|
|
15
15
|
██████ ███████ ██ ███████
|
|
16
16
|
██ ██ ██ ██ ██
|
|
17
17
|
██████ █████ ██ ███████
|
|
@@ -19,8 +19,8 @@ module.exports = async function(args) {
|
|
|
19
19
|
██ ██ ███████ ██ ███████
|
|
20
20
|
`));
|
|
21
21
|
|
|
22
|
-
console.log(chalk.
|
|
23
|
-
console.log(chalk.gray('
|
|
22
|
+
console.log(chalk.red.bold(' REIS - Uninstall'));
|
|
23
|
+
console.log(chalk.gray(' Remove REIS from your system\n'));
|
|
24
24
|
|
|
25
25
|
console.log(chalk.bold.red(' ⚠️ Uninstall REIS\n'));
|
|
26
26
|
console.log(chalk.yellow(' This will remove:'));
|
package/package.json
CHANGED