This is a tool to generate a model, a routing and a controller files, for expressjs
(As intentded)
- It checks if a folder
controllers
,models
androutes
exists, then creates the three files - If the directories do not exist, it creates them (no shit sherlock)
- download | clone the repo\
- add the clones directory to your
$PATH
variable - It is recommended to add an alias for easy use
gen-mrc [entity] [file-extension]
Example:
$> gen-mrc User ts
Will generate these files:
controllers/UserController.ts
,models/User.ts
,routes/UserRoutes.ts
IMPORTANT: This is just a 0.0.1 version, some improvements will be added with time.
Generates and creates new SSH Key in your github account
$> gh-ssh-gen <key-name> <passphrase> <email> <ssh-title>
All Are required
IMPORTANT: Using this script will have to you use your own Personal Access Token, or Fine grained ones, just make sure you set SSH Key in permissions to read and write