initx 0.0.10 → 0.0.11

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/README.md CHANGED
@@ -35,15 +35,13 @@ npx initx user mail@example.com your_name
35
35
  Select `Enable or disable GPG signing for git commits`, Set git commit signature
36
36
 
37
37
  ```bash
38
- # Enable
38
+ # npx initx gpg [true|false]
39
39
  npx initx gpg true
40
- # Disable
41
- npx initx gpg false
42
40
  ```
43
41
 
44
42
  ## GPG
45
43
 
46
- Select `Import or Export GPG key`
44
+ Select `GPG key management`
47
45
 
48
46
  ### GPG import
49
47
 
@@ -58,12 +56,21 @@ npx initx gpg import
58
56
  Export the public key and private key to the current directory
59
57
 
60
58
  ```bash
61
- # npx initx gpg export key_id filename
62
- npx initx gpg export 92038B3E14C0D332542FB082B851A3E43D739400 home
59
+ # npx initx gpg export [filename]?
60
+ npx initx gpg export home
63
61
  ```
64
62
 
65
63
  `home_public.key` and `home_private.key` will be created in the current directory
66
64
 
65
+ ### GPG delete
66
+
67
+ Delete the public key and private key
68
+
69
+ ```bash
70
+ # npx initx gpg delete [public|private]?
71
+ npx initx gpg delete
72
+ ```
73
+
67
74
  ## Clipboard
68
75
 
69
76
  Copy some text to clipboard
package/dist/cli.mjs CHANGED
@@ -4,7 +4,7 @@ import GitHandler from '@initx-plugin/git';
4
4
  import CpHandler from '@initx-plugin/cp';
5
5
  import GpgHandler from '@initx-plugin/gpg';
6
6
 
7
- const pkgJson = {name:"initx",type:"module",version:"0.0.10",packageManager:"pnpm@9.12.2",description:"More convenient initialization tool",author:"imba97",license:"MIT",homepage:"https://github.com/imba97/initx#readme",repository:{type:"git",url:"git+ssh://git@github.com/imba97/initx"},bugs:{url:"https://github.com/imba97/initx/issues"},keywords:["initx"],main:"dist/index.mjs",module:"dist/index.mjs",types:"dist/index.d.ts",bin:"bin/initx.mjs",files:["dist"],scripts:{stub:"unbuild --stub",build:"unbuild"},dependencies:{"@initx-plugin/core":"workspace:*","@initx-plugin/cp":"workspace:*","@initx-plugin/git":"workspace:*","@initx-plugin/gpg":"workspace:*",cac:"^6.7.14",inquirer:"^12.0.0"}};
7
+ const pkgJson = {name:"initx",type:"module",version:"0.0.11",packageManager:"pnpm@9.12.2",description:"More convenient initialization tool",author:"imba97",license:"MIT",homepage:"https://github.com/imba97/initx#readme",repository:{type:"git",url:"git+ssh://git@github.com/imba97/initx"},bugs:{url:"https://github.com/imba97/initx/issues"},keywords:["initx"],main:"dist/index.mjs",module:"dist/index.mjs",types:"dist/index.d.ts",bin:"bin/initx.mjs",files:["dist"],scripts:{stub:"unbuild --stub",build:"unbuild"},dependencies:{"@initx-plugin/core":"workspace:*","@initx-plugin/cp":"workspace:*","@initx-plugin/git":"workspace:*","@initx-plugin/gpg":"workspace:*",cac:"^6.7.14",inquirer:"^12.0.0"}};
8
8
 
9
9
  function getDefaultExportFromCjs (x) {
10
10
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "initx",
3
3
  "type": "module",
4
- "version": "0.0.10",
4
+ "version": "0.0.11",
5
5
  "description": "More convenient initialization tool",
6
6
  "author": "imba97",
7
7
  "license": "MIT",
@@ -26,10 +26,10 @@
26
26
  "dependencies": {
27
27
  "cac": "^6.7.14",
28
28
  "inquirer": "^12.0.0",
29
- "@initx-plugin/core": "0.0.10",
30
- "@initx-plugin/cp": "0.0.10",
31
- "@initx-plugin/gpg": "0.0.10",
32
- "@initx-plugin/git": "0.0.10"
29
+ "@initx-plugin/core": "0.0.11",
30
+ "@initx-plugin/cp": "0.0.11",
31
+ "@initx-plugin/gpg": "0.0.11",
32
+ "@initx-plugin/git": "0.0.11"
33
33
  },
34
34
  "scripts": {
35
35
  "stub": "unbuild --stub",