clonit

0.1.0 • Public • Published

clonit

Easiest way to create-your-app: clone it

Install

  $ npm install -g clonit
  $ clonit --help
  $ npx clonit --help

Usage

  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/repo my-app
    $ clonit my/starter/repo my-app --ignore-specs .gitignore --ignore-specs .ignore # your own ignorefile
    $ clonit https://github.com/zeakd/rollup-module-starter my-app --prefix typescript # from remote monorepo

What it does

  • clone starter using git repo or local folder.
  • choose branch and prefix
  • respect .gitignore or somthing else you want.

Roadmap

  • node api
  • post clonit hook (like npm install or yarn)
  • templete variable (like module name)

Package Sidebar

Install

npm i clonit

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

23.5 kB

Total Files

18

Last publish

Collaborators

  • zeakd