Skip to content

zeakd/clonit

Repository files navigation

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/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

What it does

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

Roadmap

  • node api
  • post clonit hook (for npm install, yarn, or git init)
  • templete variable (for module-name)