Comparing version 0.0.9 to 0.0.10
@@ -1,3 +0,4 @@ | ||
export { GitHandler } from '@initx-plugin/git'; | ||
export { CpHandler } from '@initx-plugin/cp'; | ||
export { default as GitHandler } from '@initx-plugin/git'; | ||
export { default as CpHandler } from '@initx-plugin/cp'; | ||
export { default as GpgHandler } from '@initx-plugin/gpg'; | ||
export * from '@initx-plugin/core'; |
{ | ||
"name": "initx", | ||
"type": "module", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "More convenient initialization tool", | ||
@@ -29,6 +29,6 @@ "author": "imba97", | ||
"inquirer": "^12.0.0", | ||
"@initx-plugin/cp": "0.0.9", | ||
"@initx-plugin/core": "0.0.9", | ||
"@initx-plugin/git": "0.0.9", | ||
"@initx-plugin/gpg": "0.0.9" | ||
"@initx-plugin/core": "0.0.10", | ||
"@initx-plugin/cp": "0.0.10", | ||
"@initx-plugin/gpg": "0.0.10", | ||
"@initx-plugin/git": "0.0.10" | ||
}, | ||
@@ -35,0 +35,0 @@ "scripts": { |
@@ -13,3 +13,3 @@ <h1 align="center">init 🛠</h1> | ||
``` | ||
```bash | ||
npx initx git@github.com:user/repository.git | ||
@@ -22,4 +22,56 @@ ``` | ||
``` | ||
```bash | ||
npx initx git@github.com:user/repository.git main | ||
``` | ||
### Git User | ||
Set git username and email | ||
```bash | ||
npx initx user mail@example.com your_name | ||
``` | ||
### Git GPG | ||
Select `Enable or disable GPG signing for git commits`, Set git commit signature | ||
```bash | ||
# Enable | ||
npx initx gpg true | ||
# Disable | ||
npx initx gpg false | ||
``` | ||
## GPG | ||
Select `Import or Export GPG key` | ||
### GPG import | ||
Automatically read files ending with `publich.key` and `private.key` in the current directory | ||
```bash | ||
npx initx gpg import | ||
``` | ||
### GPG export | ||
Export the public key and private key to the current directory | ||
```bash | ||
# npx initx gpg export key_id filename | ||
npx initx gpg export 92038B3E14C0D332542FB082B851A3E43D739400 home | ||
``` | ||
`home_public.key` and `home_private.key` will be created in the current directory | ||
## Clipboard | ||
Copy some text to clipboard | ||
### SSH Public Key | ||
```bash | ||
npx initx cp ssh | ||
``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
9486
150
76
+ Added@initx-plugin/core@0.0.10(transitive)
+ Added@initx-plugin/cp@0.0.10(transitive)
+ Added@initx-plugin/git@0.0.10(transitive)
+ Added@initx-plugin/gpg@0.0.10(transitive)
+ Added@initx-plugin/utils@0.0.10(transitive)
- Removed@initx-plugin/core@0.0.9(transitive)
- Removed@initx-plugin/cp@0.0.9(transitive)
- Removed@initx-plugin/git@0.0.9(transitive)
- Removed@initx-plugin/gpg@0.0.9(transitive)
- Removed@initx-plugin/utils@0.0.9(transitive)
Updated@initx-plugin/core@0.0.10
Updated@initx-plugin/cp@0.0.10
Updated@initx-plugin/git@0.0.10
Updated@initx-plugin/gpg@0.0.10