@n42/cli 0.2.0 → 0.2.2
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/cli.js +4 -4
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -156,15 +156,15 @@ program
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
if (!artefacts.length) {
|
|
159
|
-
clearScreen(`Node42 CLI v${pkg.version}`);
|
|
159
|
+
clearScreen(`Node42 CLI v${pkg.version}\n`);
|
|
160
160
|
const filter = dayFilter !== null ? ` (${dayFilter})` : ``;
|
|
161
|
-
console.log(
|
|
161
|
+
console.log(`${C.RED}No artefacts found.${C.RESET}${C.DIM}${filter}${C.RESET}\n`);
|
|
162
162
|
return;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
// ---- OUTPUT ----
|
|
166
|
-
clearScreen(`Node42 CLI v${pkg.version}`);
|
|
167
|
-
console.log(
|
|
166
|
+
clearScreen(`Node42 CLI v${pkg.version}\n`);
|
|
167
|
+
console.log(`${C.BOLD}Found ${artefacts.length} artefact(s)${filterInfo}${C.RESET}\n`);
|
|
168
168
|
|
|
169
169
|
const DATE = "DATE".padEnd(19);
|
|
170
170
|
const PID = "PID".padEnd(15);
|