@glasser-ai/cli 0.1.64 → 0.1.65
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/dist/glasser.js +7 -5
- package/package.json +1 -1
package/dist/glasser.js
CHANGED
|
@@ -66465,15 +66465,17 @@ function presentRun(run7, options4) {
|
|
|
66465
66465
|
const target = options4.outputPath.value;
|
|
66466
66466
|
const body = outputForFile(run7);
|
|
66467
66467
|
if (body === null) {
|
|
66468
|
-
|
|
66469
|
-
|
|
66470
|
-
|
|
66468
|
+
if (!options4.json) {
|
|
66469
|
+
yield* Console_exports.error(
|
|
66470
|
+
`Nothing written to ${target}: only a COMPLETED Run with output is saved.`
|
|
66471
|
+
);
|
|
66472
|
+
}
|
|
66471
66473
|
} else {
|
|
66472
66474
|
yield* Effect_exports.try({
|
|
66473
66475
|
try: () => writeFileSync2(target, body),
|
|
66474
66476
|
catch: (error2) => new LocalIoError({ message: `Cannot write ${target}: ${error2.message}` })
|
|
66475
66477
|
});
|
|
66476
|
-
yield* Console_exports.error(`Output saved to ${target}`);
|
|
66478
|
+
if (!options4.json) yield* Console_exports.error(`Output saved to ${target}`);
|
|
66477
66479
|
}
|
|
66478
66480
|
}
|
|
66479
66481
|
if ((options4.failTerminal ?? true) && (run7.status === "FAILED" || run7.status === "STOPPED")) {
|
|
@@ -66706,7 +66708,7 @@ var runs2 = Command_exports.make("runs").pipe(
|
|
|
66706
66708
|
// package.json
|
|
66707
66709
|
var package_default = {
|
|
66708
66710
|
name: "@glasser-ai/cli",
|
|
66709
|
-
version: "0.1.
|
|
66711
|
+
version: "0.1.65",
|
|
66710
66712
|
description: "Search, inspect and run paid API endpoints with one Key \u2014 the Glasser CLI",
|
|
66711
66713
|
license: "MIT",
|
|
66712
66714
|
type: "module",
|