A simple workflow tool for create and manager scaffold projects
npm install jqyao-flow -g-
ff init: init a project from existing template -
ff add [scaffold-name] [git-repo]: add a template to local from git repo -
ff list: list all local templates -
ff remove [scaffold-name]: remove a local template -
ff help: show help info
- create a git repo
- write project template as usual
- add a
ff.jsfile in the root of repo, write generator code in it
there are some presets func inside to help u create a template simply
- Listr
- Inquirer
- getGenerateFiles
- ...
MIT