para-cli 1.23.0 → 1.23.1
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/index.js +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -93,6 +93,7 @@ export async function setup(config) {
|
|
|
93
93
|
});
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
|
+
rl.close();
|
|
96
97
|
});
|
|
97
98
|
});
|
|
98
99
|
});
|
|
@@ -505,8 +506,8 @@ export function listApps(config, flags, parentAccessKey, failureCallback) {
|
|
|
505
506
|
}).then(function () {
|
|
506
507
|
var apps = results.map(function (app) {return app.appIdentifier.trim();});
|
|
507
508
|
if (apps.length) {
|
|
508
|
-
console.log('Found', p.count, 'apps on ' + cyan(endpoint) + '
|
|
509
|
-
console.log('
|
|
509
|
+
console.log('Found', p.count, 'apps on ' + cyan(endpoint) + ':\n', yellow('[') + green(apps.join(yellow('] ['))) + yellow(']'));
|
|
510
|
+
console.log('\nTyping', cyan('para-cli select'), green(apps[0]), 'will switch to that app. \nCurrent app:',
|
|
510
511
|
green(parentAccessKey));
|
|
511
512
|
process.exit(0);
|
|
512
513
|
} else {
|