0.0.3 • Published 2 years ago
jqyao-flow v0.0.3
fe-flow
A simple workflow tool for create and manager scaffold projects
Install
npm install jqyao-flow -g
Usage
ff init
: init a project from existing templateff add [scaffold-name] [git-repo]
: add a template to local from git repoff list
: list all local templatesff remove [scaffold-name]
: remove a local templateff help
: show help info
how to create a template
- create a git repo
- write project template as usual
- add a
ff.js
file in the root of repo, write generator code in it
presets
there are some presets func inside to help u create a template simply
- Listr
- Inquirer
- getGenerateFiles
- ...
License
MIT