@hasna/mementos 0.3.5 → 0.3.6
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/cli/index.js +2 -4
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -3526,8 +3526,7 @@ program2.command("save <key> <value>").description("Save a memory (create or ups
|
|
|
3526
3526
|
if (globalOpts.json) {
|
|
3527
3527
|
outputJson(memory);
|
|
3528
3528
|
} else {
|
|
3529
|
-
console.log(chalk.green(
|
|
3530
|
-
console.log(formatMemoryDetail(memory));
|
|
3529
|
+
console.log(chalk.green(`Saved: ${memory.key} (${memory.id.slice(0, 8)})`));
|
|
3531
3530
|
}
|
|
3532
3531
|
} catch (e) {
|
|
3533
3532
|
handleError(e);
|
|
@@ -3669,8 +3668,7 @@ program2.command("update <id>").description("Update a memory by ID").option("--v
|
|
|
3669
3668
|
if (globalOpts.json) {
|
|
3670
3669
|
outputJson(updated);
|
|
3671
3670
|
} else {
|
|
3672
|
-
console.log(chalk.green(
|
|
3673
|
-
console.log(formatMemoryDetail(updated));
|
|
3671
|
+
console.log(chalk.green(`Updated: ${updated.key} (${updated.id.slice(0, 8)})`));
|
|
3674
3672
|
}
|
|
3675
3673
|
} catch (e) {
|
|
3676
3674
|
handleError(e);
|