@gravirei/reis 1.1.6 → 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 -29
- 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,16 +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');
|
|
345
|
-
await install();
|
|
330
|
+
// Perform installation directly
|
|
331
|
+
const { performInstallation } = require('../lib/install.js');
|
|
332
|
+
await performInstallation();
|
|
346
333
|
|
|
347
334
|
// Show completion message
|
|
348
335
|
console.log(chalk.bold.green(' 🎉 Congratulations! ') + chalk.white('REIS is now in your system.'));
|
|
@@ -354,16 +341,9 @@ program.action(async () => {
|
|
|
354
341
|
console.log(chalk.gray(' Non-interactive mode - installing automatically...\n'));
|
|
355
342
|
console.log(chalk.cyan(' Installing to ~/.rovodev/reis/\n'));
|
|
356
343
|
|
|
357
|
-
//
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
console.log(chalk.green(' ✓ Installed subagents'));
|
|
361
|
-
console.log(chalk.green(` ✓ Wrote VERSION (${packageJson.version})`));
|
|
362
|
-
console.log(chalk.green(' ✓ Configured REIS\n'));
|
|
363
|
-
|
|
364
|
-
// Actually run the install
|
|
365
|
-
const { install } = require('../lib/install.js');
|
|
366
|
-
await install();
|
|
344
|
+
// Perform installation directly
|
|
345
|
+
const { performInstallation } = require('../lib/install.js');
|
|
346
|
+
await performInstallation();
|
|
367
347
|
|
|
368
348
|
// Show completion message
|
|
369
349
|
console.log(chalk.bold.green(' 🎉 Congratulations! ') + chalk.white('REIS is now in your system.'));
|
package/lib/install.js
CHANGED
package/package.json
CHANGED