@gravirei/reis 1.1.5 → 1.1.7
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 +9 -27
- package/lib/install.js +1 -1
- package/package.json +1 -1
package/bin/reis.js
CHANGED
|
@@ -270,15 +270,9 @@ program.action(async () => {
|
|
|
270
270
|
if (choice === '2') {
|
|
271
271
|
console.log(chalk.cyan(' Installing to ~/.rovodev/reis/\n'));
|
|
272
272
|
|
|
273
|
-
//
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
console.log(chalk.green(' ✓ Installed subagents'));
|
|
277
|
-
console.log(chalk.green(` ✓ Wrote VERSION (${packageJson.version})`));
|
|
278
|
-
console.log(chalk.green(' ✓ Configured REIS\n'));
|
|
279
|
-
|
|
280
|
-
const { install } = require('../lib/install.js');
|
|
281
|
-
await install();
|
|
273
|
+
// Perform installation directly
|
|
274
|
+
const { performInstallation } = require('../lib/install.js');
|
|
275
|
+
await performInstallation();
|
|
282
276
|
} else {
|
|
283
277
|
console.log(chalk.cyan(' Keeping existing installation\n'));
|
|
284
278
|
console.log(chalk.green(' ✓ Using existing documentation'));
|
|
@@ -333,15 +327,9 @@ program.action(async () => {
|
|
|
333
327
|
|
|
334
328
|
console.log(chalk.cyan(' Installing to ~/.rovodev/reis/\n'));
|
|
335
329
|
|
|
336
|
-
//
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
console.log(chalk.green(' ✓ Installed subagents'));
|
|
340
|
-
console.log(chalk.green(` ✓ Wrote VERSION (${packageJson.version})`));
|
|
341
|
-
console.log(chalk.green(' ✓ Configured REIS\n'));
|
|
342
|
-
|
|
343
|
-
// Actually run the install
|
|
344
|
-
const install = require('../lib/install.js');
|
|
330
|
+
// Perform installation directly
|
|
331
|
+
const { performInstallation } = require('../lib/install.js');
|
|
332
|
+
await performInstallation();
|
|
345
333
|
|
|
346
334
|
// Show completion message
|
|
347
335
|
console.log(chalk.bold.green(' 🎉 Congratulations! ') + chalk.white('REIS is now in your system.'));
|
|
@@ -353,15 +341,9 @@ program.action(async () => {
|
|
|
353
341
|
console.log(chalk.gray(' Non-interactive mode - installing automatically...\n'));
|
|
354
342
|
console.log(chalk.cyan(' Installing to ~/.rovodev/reis/\n'));
|
|
355
343
|
|
|
356
|
-
//
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
console.log(chalk.green(' ✓ Installed subagents'));
|
|
360
|
-
console.log(chalk.green(` ✓ Wrote VERSION (${packageJson.version})`));
|
|
361
|
-
console.log(chalk.green(' ✓ Configured REIS\n'));
|
|
362
|
-
|
|
363
|
-
// Actually run the install
|
|
364
|
-
const install = require('../lib/install.js');
|
|
344
|
+
// Perform installation directly
|
|
345
|
+
const { performInstallation } = require('../lib/install.js');
|
|
346
|
+
await performInstallation();
|
|
365
347
|
|
|
366
348
|
// Show completion message
|
|
367
349
|
console.log(chalk.bold.green(' 🎉 Congratulations! ') + chalk.white('REIS is now in your system.'));
|
package/lib/install.js
CHANGED
package/package.json
CHANGED