@lih-x-x/kmr 1.0.29 → 1.0.30

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/cli.js +13 -3
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -6,9 +6,9 @@ async function checkUpdate() {
6
6
  try {
7
7
  const res = await fetch(`https://registry.npmjs.org/${"@lih-x-x/kmr"}/latest`, { signal: AbortSignal.timeout(3e3) });
8
8
  const data = await res.json();
9
- if (data.version && data.version !== "1.0.29") {
9
+ if (data.version && data.version !== "1.0.30") {
10
10
  console.log(`
11
- \u2B06\uFE0F \u65B0\u7248\u672C\u53EF\u7528: ${"1.0.29"} \u2192 ${data.version}`);
11
+ \u2B06\uFE0F \u65B0\u7248\u672C\u53EF\u7528: ${"1.0.30"} \u2192 ${data.version}`);
12
12
  console.log(` \u8FD0\u884C npm install -g ${"@lih-x-x/kmr"} \u66F4\u65B0
13
13
  `);
14
14
  }
@@ -54,7 +54,7 @@ KMR\uFF08Key Meetings Record\uFF09\u2014 \u4F1A\u8BAE\u6316\u6398\u673A
54
54
  kmr --help \u663E\u793A\u5E2E\u52A9
55
55
  `);
56
56
  } else if (command === "--version" || command === "-v") {
57
- console.log("1.0.29");
57
+ console.log("1.0.30");
58
58
  } else if (command === "list") {
59
59
  const { loadConfig } = await import("./config-L2SVVMAR.js");
60
60
  const { JsonStore } = await import("./jsonStore-AL73KEUG.js");
@@ -134,5 +134,15 @@ KMR\uFF08Key Meetings Record\uFF09\u2014 \u4F1A\u8BAE\u6316\u6398\u673A
134
134
  }
135
135
  } else {
136
136
  checkUpdate();
137
+ console.log(`
138
+ KMR\uFF08Key Meetings Record\uFF09\u2014 \u4F1A\u8BAE\u6316\u6398\u673A
139
+
140
+ \u53EF\u7528\u547D\u4EE4:
141
+ kmr list \u5217\u51FA\u6240\u6709\u4F1A\u8BAE\u8BB0\u5F55
142
+ kmr show <id> \u67E5\u770B\u8BB0\u5F55\u8BE6\u60C5
143
+ kmr del <id> \u5220\u9664\u8BB0\u5F55
144
+ kmr find <q> \u641C\u7D22\u4F1A\u8BAE\u8BB0\u5F55
145
+ kmr --help \u663E\u793A\u5B8C\u6574\u5E2E\u52A9
146
+ `);
137
147
  await import("./index.js");
138
148
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lih-x-x/kmr",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {