Skip to content

initx-collective/initx

Repository files navigation

initx ⚙️

initx A more convenient scripting engine

npx initx <something>

What is it?

initx can quickly execute some scripts through plug-ins to simplify complex functions

like ...

Set the git username and email address via @initx-plugin/git plugin
# before
git config --global user.name "foo"
git config --global user.email "[email protected]"

# after
initx user foo [email protected]
Copy SSH or GPG public key via @initx-plugin/cp plugin
# before
gpg -k # get the key id
gpg --armor --export <key-id> # export the key

# after
initx cp gpg

# before
# open ~/.ssh/id_rsa.pub or C:/Users/<username>/.ssh/id_rsa.pub and copy it

# after
initx cp ssh
Manage code projects using @initx-plugin/pm
# before
# open github, copy clone url
# use terminal cd to ~/projects, git clone <url>
# maybe more steps

# after
initx pm add ~/projects # add projects directory, only need to do it once
initx create user/repo
# or initx pm create user/repo project-name

Usage

Install it globally

npm i -g initx

Then you can ignore npx

initx <command> [options]

Use various functions by installing plugins

initx plugin add <plugin-name>

This will install the @initx-plugin/git plugin

initx plugin add git

Plugins

Use initx-plugin-starter to get started

Acknowledgement

About

A more convenient scripting engine

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •