🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

initx

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

initx - npm Package Compare versions

Comparing version

to
0.0.10

5

dist/index.d.ts

@@ -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';

10

package.json
{
"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