init 🛠
initx
More convenient initialization engine
npx initx <something>
Git
npm install @initx-plugin/git -g
Git Repository
Create a new repository or modify the remote repository address in the current directory
npx initx git@github.com:user/repository.git
Git Branch
Specify a branch name
npx initx git@github.com:user/repository.git main
Git User
Set git username and email
npx initx user mail@example.com your_name
Git GPG
Select Enable or disable GPG signing for git commits
, Set git commit signature
npx initx gpg true
GPG
npm install @initx-plugin/gpg -g
Select GPG key management
GPG import
Automatically read files ending with publich.key
and private.key
in the current directory
npx initx gpg import
GPG export
Export the public key and private key to the current directory
npx initx gpg export home
home_public.key
and home_private.key
will be created in the current directory
GPG delete
Delete the public key and private key
npx initx gpg delete
Clipboard
npm install @initx-plugin/cp -g
Copy some text to clipboard
SSH Public Key
npx initx cp ssh