A tech bro's command line personal assistant.
As a newbie, I found myself going back to this article on How to start a Node.js project by Phil Nash for commands to set up my project environment. At some point I lost the link and had to search on Google for it again. It was that useful. Recently, I came across yoda - a CLI based 'personal assistant' written in Python by Man Parvesh Singh Randhawa. I thought it was really cool. Inspired by the project, I wanted to create something similar but with Node.js and more development-oriented. So, I decided to automate the steps Phil Nash talked about in the article with Node.js. Additionally, I decided to automate GitHub repository creation workflow.
- Project starter folder generator: Generation of unopinionated NodeJS and Python project starter folders with .gitignore, README.md, LICENSE and package.json (for NodeJS projects) files.
- Automated GitHub repository creation workflow: Set up a repository from the command line without visiting the browser. Initialization of git within specified a folder, adding the remote repository and pushing the local git main branch to the remote repository.
Currently, it supports two commands:
create-project|cp [options] <project-name>
setup-github-repo|sgr
-l, --license <name>
The open source license you want to use (default: "MIT")
-h, --help
display help for command
- Creating a project
wade create-project test --license mit
## or
wade cp test -l mit
- Setting up GitHub repo
wade setup-github-repo
## or
wade sgr
- Help
wade --help
## or
wade create-project --help
## or
wade setup-github-repo --help
This project is not yet available as an npm package as I am still working on adding more commands and featues so it cannot be accessed by calling npm install <package-name>
.
If you would like to try it out, you can follow the steps found in the installation section below.
For the commands to work correctly and features to behave as intended you need to have the following installed:
- First, fork and clone the repository to your local machine:
git clone
- Change the current working directory:
cd wade-cli
- Then install the package dependencies:
npm install
- Finally, from within the
wade-cli
cloned project folder, run:
npm install -g ./
Doing this install the project globally for you on your machine allowing you to use the wade
command from any directory.
- Project starter folder generator
- Automate GitHub repository creation workflow
- Refresh github access token.
- Allow users to be able to only create remote repo from terminal without making any git actions locally.