initx
v0.1.3
Published
A more convenient scripting engine
Readme
What is it?
initx can quickly execute some scripts through plug-ins to simplify complex functions
like ...
# before
git config --global user.name "foo"
git config --global user.email "[email protected]"
# after
initx user foo [email protected]# 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# 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-nameUsage
Install it globally
npm i -g initxThen 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 gitPlugins
Use initx-plugin-starter to get started
