mkprj is a simple cli utility to make project creation more seamless. It allows you to create a project with most language's templates and then open it in your favorite editor. The primary purpose of this tool is to unify template bootstrapping to one command.
It is, to be honest. But, I find the commands ran just to start a new project are enough of a point of friction (for me) to warrant a tool like this. I hope you find it useful too.
- npm (obviously)
- yarn
- deno
- bun
cargo install --git https://github.com/Morgandri1/mkprj
mkprj uses a json config file which you can easily interact with using the mkprj config
command. The default config file is located at ~/.mkprj/config.json
.
The options are as follows:
--editor_command
: The editor to open the project in. This can be any command that opens a file in your editor. The default isvim
.--node_command
: Your javascript/node command. The default isnpm
, but you can change it to any one ofbun
,yarn
,deno
.
mkprj is a fairly simple app to use. Simply run mkprj <project_name> --<language>
to create a project. For example, to create a rust project, you would run mkprj my_project --rust
. But, if you don't want to use a language template, you can simply run mkprj my_project
and it will create a project with a git repository.