init 🛠
initx
More convenient initialization tool
npx initx <something>
Git
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
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
npx initx gpg import
GPG export
Export the public key and private key to the current directory
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
npx initx cp ssh