0.0.4 • Published 8 years ago
initrepo v0.0.4
Install
npm install -g initrepo
Requirements
~/.initrepo/ - ~/.initrepo/$type/ files, ~/.initrepo/$type.sh script
optional: script/function with your rules. for example ~/.initrepo.sh
Features
easy project scaffold:
- copy files - cp ~/.initrepo/$type/ .
- run script - bash ~/.initrepo/$type.sh
Usage
usage: initrepo type ...
Example
# default files for all repos
$ cd path/to/repo
$ initrepo default
# python
$ cd path/to/repo.py
$ initrepo default py
# bash/cli
$ cd path/to/repo.sh.cli
$ initrepo default sh.cli
# dotfiles
$ cd path/to/.bash
$ initrepo default dotfiles
Links
- .initrepo dotfiles example - github.com/russianidiot-dotfiles/.initrepo