c456-cli 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { Command as Command7 } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "c456-cli",
9
- version: "0.1.3",
9
+ version: "0.1.4",
10
10
  description: "C456 CLI - \u5185\u5BB9\u5F55\u5165\u4E0E\u6574\u7406\u5DE5\u5177",
11
11
  type: "module",
12
12
  bin: {
@@ -296,6 +296,8 @@ intake.command("new").description("\u521B\u5EFA\u65B0\u6536\u5F55").option("-u,
296
296
  console.log(` ID: ${result.data.id}`);
297
297
  console.log(` \u7C7B\u578B\uFF1A${result.data.kind}`);
298
298
  console.log(` \u6807\u9898\uFF1A${result.data.title || "(\u65E0)"}`);
299
+ console.log("\n--- JSON ---");
300
+ console.log(JSON.stringify(result.data, null, 2));
299
301
  } catch (err) {
300
302
  console.error(`\u274C \u521B\u5EFA\u5931\u8D25\uFF1A${err.message}`);
301
303
  const kind = String(opts.kind ?? "signal");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c456-cli",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "C456 CLI - 内容录入与整理工具",
5
5
  "type": "module",
6
6
  "bin": {