clonit
initialize your repo with cloned repository
Install
$ npm install -g clonit
Usage
before run clonit, create empty repository for your project.
$ clonit --help
initialize your repo with cloned repository
Usage
$ clonit <STARTER_REPO_URL> <REPO_URL> [FOLDER_NAME]
$ clonit <STARTER_REPO_URL> <REPO_NAME>
Examples
$ clonit https://github.com/zeakd/rollup-module-starter my-module
remote: https://github.com/zeakd/my-module
folder: my-module
$ clonit https://github.com/zeakd/rollup-module-starter https://github.com/zeakd/my-module
remote: https://github.com/zeakd/my-module
folder: my-module
$ clonit https://github.com/zeakd/rollup-module-starter https://github.com/zeakd/my-module mine
remote: https://github.com/zeakd/my-module
folder: mine
$ clonit https://github.com/zeakd/rollup-module-starter https://github.com/zeakd/my-module my-module
or
$ clonit https://github.com/zeakd/rollup-module-starter my-module
$ cd my-module
$ npm init
What it does
TODO
- CLI visualization
- if repo has package.json, npm init before commit.