qdev
v1.2.1
Published
a cli tool to help speed up dev setup
Downloads
167
Readme
quickdev
a cli tool to help speed up dev setup
About
quickdev provides a couple of cli commands that are helpful when setting up the dev environment for a new project. It does not have any production dependencies, therefore it does not depend on third parties for any functionality
Getting Started with Local Development
npm install
(only needs to be done once)npm run dev
- When you edit the source code in src/ and save, nodemon will automatically recompile the changes to javascript and perform linting and styling
- With nodemon running, you can test the usage of the cli within the root level of the repository (provided you do not have qdev installed as a package from npm itself)
File Structure
quickdev
├── dist/ (typescript files are compiled to this folder to publish to npm's registry)
│ ├── ...
├── node_modules/
│ ├── ...
└── src
├── index.ts (entry point for the cli)
├── commands/ (each cli command has a separate file)
├── data.json (json data used in commands)
└── helpers/ (helper functions for reused code)
Usage
Installation
npm i -g qdev
Available Commands
help
display help information
config
configure q
Usage: q config <option> <value>
Options:
- username: set your github username
- Example:
q config username octocat
- Example:
clone
clone a repository from github
Usage: q clone <option>
Options:
- url: clones a repository from a full git repository url
- Example:
q clone https://github.com/username/repository.git
- Example: