Skeleton Generator
Copy and replace keywords to generate skeleton files from local or github repository written by Go
gokeleton -p "key1=value1,key2=value2" <src-path> <dest-path>
For example, copy from github repository
gokeleton -p "key=value" https://github.com/hata/gokeleton /tmp/test
Copy from a local directory
gokeleton -p "key=value" /local/template/path /tmp/test
Replace 'key' with 'value' if these keys are found in files.
To install, use go get
:
$ go get -d github.com/hata/gokeleton
- Fork (https://github.com/hata/gokeleton/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes - Run
gofmt -s
- Create a new Pull Request