Easiest way to create-your-app: clone it
$ npm install -g clonit
$ clonit --help
$ npx clonit --help
Usage:
$ clonit <source-folder> <dest>
$ clonit <source-git-url> <dest>
Options
--ignore-specs ignore spec file (defaults: .gitignore)
--prefix prefix of source for monorepo
--force overwrite dest
--branch use specific git branch (when use git)
Examples
$ clonit my/starter/folder my-app
$ clonit my/starter/folder my-app --ignore-specs .gitignore --ignore-specs .ignore # your own ignorefile
$ clonit https://github.com/zeakd/starters my-cli --prefix typescript-ink-starter # from remote monorepo
- clone starter using git repo or local folder.
- ignore .git.
- choose branch and prefix
- respect .gitignore or somthing else you want.
- node api
- post clonit hook (for
npm install
,yarn
, orgit init
) - templete variable (for module-name)