@n42/cli 0.3.2 → 0.3.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n42/cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Node42 CLI – Command-line interface for Peppol eDelivery path discovery, diagnostics, and tooling",
5
5
  "keywords": [
6
6
  "node42",
package/src/cli.js CHANGED
@@ -208,12 +208,14 @@ program
208
208
  const time = iso.slice(11, 19); // 16:53:28
209
209
 
210
210
  let file;
211
+ let link;
211
212
  if (item.file.includes(".svg")) {
212
213
  file = path.join(ARTEFACTS_DIR, `${item.file.replace(".svg", ".html")}`);
214
+ link = `\u001B]8;;file://${file}\u0007Open Diagram\u001B]8;;\u0007`;
213
215
  } else {
214
216
  file = path.join(ARTEFACTS_DIR, `${item.file}`);
217
+ link = `\u001B]8;;file://${file}\u0007Open Artefact\u001B]8;;\u0007`;
215
218
  }
216
- const link = `\u001B]8;;file://${file}\u0007Open\u001B]8;;\u0007`
217
219
 
218
220
  let pid = item.participantId;
219
221
  if (!participantId) {
package/src/discover.js CHANGED
@@ -173,7 +173,7 @@ async function runDiscovery(participantId, options) {
173
173
  fs.writeFileSync(file, svg);
174
174
 
175
175
  const htmlFile = wrapSvg(fileId, refId, svg);
176
- const link = `\u001B]8;;file://${htmlFile}\u0007Open\u001B]8;;\u0007`;
176
+ const link = `\u001B]8;;file://${htmlFile}\u0007Diagram\u001B]8;;\u0007`;
177
177
 
178
178
  console.log(`${C.BOLD}Discovery completed${C.RESET}`);
179
179
  console.log(`PID : ${participantId}`);
@@ -193,7 +193,7 @@ async function runDiscovery(participantId, options) {
193
193
  const file = path.join(ARTEFACTS_DIR, `${fileName}`);
194
194
  fs.writeFileSync(file, text);
195
195
 
196
- const link = `\u001B]8;;file://${file}\u0007Open\u001B]8;;\u0007`;
196
+ const link = `\u001B]8;;file://${file}\u0007Open Diagram\u001B]8;;\u0007`;
197
197
 
198
198
  console.log(`${C.BOLD}Discovery completed${C.RESET}`);
199
199
  console.log(`PID : ${participantId}`);