c456-cli 0.1.4 → 0.1.5

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 +12 -2
  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.4",
9
+ version: "0.1.5",
10
10
  description: "C456 CLI - \u5185\u5BB9\u5F55\u5165\u4E0E\u6574\u7406\u5DE5\u5177",
11
11
  type: "module",
12
12
  bin: {
@@ -297,7 +297,17 @@ intake.command("new").description("\u521B\u5EFA\u65B0\u6536\u5F55").option("-u,
297
297
  console.log(` \u7C7B\u578B\uFF1A${result.data.kind}`);
298
298
  console.log(` \u6807\u9898\uFF1A${result.data.title || "(\u65E0)"}`);
299
299
  console.log("\n--- JSON ---");
300
- console.log(JSON.stringify(result.data, null, 2));
300
+ console.log(
301
+ JSON.stringify(
302
+ {
303
+ id: result.data.id,
304
+ kind: result.data.kind,
305
+ title: result.data.title || ""
306
+ },
307
+ null,
308
+ 2
309
+ )
310
+ );
301
311
  } catch (err) {
302
312
  console.error(`\u274C \u521B\u5EFA\u5931\u8D25\uFF1A${err.message}`);
303
313
  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.4",
3
+ "version": "0.1.5",
4
4
  "description": "C456 CLI - 内容录入与整理工具",
5
5
  "type": "module",
6
6
  "bin": {