@n42/cli 0.1.96 → 0.2.0
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/package.json +1 -1
- package/src/discover.js +4 -5
package/package.json
CHANGED
package/src/discover.js
CHANGED
|
@@ -41,8 +41,7 @@ async function processSupportedDocuments(encodedDocs, onDone) {
|
|
|
41
41
|
.map(d => ({ ...d, label: buildDocLabel(d) }));
|
|
42
42
|
|
|
43
43
|
if (docs.length) {
|
|
44
|
-
console.log(
|
|
45
|
-
console.log(`Found ${docs.length} supported document type(s)\n`);
|
|
44
|
+
console.log(`${C.BOLD}Found ${docs.length} supported document type(s)${C.RESET}\n`);
|
|
46
45
|
|
|
47
46
|
docSelected = await promptForDocument(docs);
|
|
48
47
|
|
|
@@ -157,7 +156,7 @@ async function runDiscovery(participantId, options) {
|
|
|
157
156
|
const link = `\u001B]8;;file://${file}\u0007Open\u001B]8;;\u0007`;
|
|
158
157
|
|
|
159
158
|
console.log(`${C.BOLD}Discovery completed${C.RESET}`);
|
|
160
|
-
console.log(`PID : ${
|
|
159
|
+
console.log(`PID : ${participantId}`);
|
|
161
160
|
console.log(`Artefact : ${fileName} ${C.BLUE}[${link}]${C.RESET}`);
|
|
162
161
|
console.log(`Usage : ${C.RED}${serviceUsage}${C.RESET} ${C.DIM}(${rateLimit})${C.RESET}\n`);
|
|
163
162
|
return;
|
|
@@ -177,7 +176,7 @@ async function runDiscovery(participantId, options) {
|
|
|
177
176
|
const link = `\u001B]8;;file://${file}\u0007Open\u001B]8;;\u0007`;
|
|
178
177
|
|
|
179
178
|
console.log(`${C.BOLD}Discovery completed${C.RESET}`);
|
|
180
|
-
console.log(`PID : ${
|
|
179
|
+
console.log(`PID : ${participantId}`);
|
|
181
180
|
console.log(`Artefact : ${fileName} ${C.BLUE}[${link}]${C.RESET}`);
|
|
182
181
|
console.log(`Usage : ${C.RED}${serviceUsage}${C.RESET} ${C.DIM}(${rateLimit})${C.RESET}\n`);
|
|
183
182
|
return;
|
|
@@ -197,7 +196,7 @@ async function runDiscovery(participantId, options) {
|
|
|
197
196
|
const link = `\u001B]8;;file://${file}\u0007Open\u001B]8;;\u0007`;
|
|
198
197
|
|
|
199
198
|
console.log(`${C.BOLD}Discovery completed${C.RESET}`);
|
|
200
|
-
console.log(`PID : ${
|
|
199
|
+
console.log(`PID : ${participantId}`);
|
|
201
200
|
console.log(`Artefact : ${fileName} ${C.BLUE}[${link}]${C.RESET}`);
|
|
202
201
|
console.log(`Usage : ${C.RED}${serviceUsage}${C.RESET} ${C.DIM}(${rateLimit})${C.RESET}\n`);
|
|
203
202
|
}
|