generate-cr / generate

Generic tool for generating whole Crystal project structure, or any part of it during lifetime of project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

generate.cr

Generic tool for generating whole Crystal project structure, or any part of it during lifetime of project.

Installation

curl https://raw.githubusercontent.com/generate-cr/generate/master/script/install.sh | bash

It will create ~/.generate-cr/bin/generate-cr, which you probably want to add to your PATH

Usage

generate.cr new library example

Example project structure:

$ tree example -a
example
├── .gitignore
├── libs
│   └── .keep
├── LICENSE
├── Projectfile
├── README.md
├── spec
│   ├── example
│   │   └── .keep
│   ├── example_spec.cr
│   └── spec_helper.cr
├── src
│   ├── example
│   │   └── version.cr
│   └── example.cr
└── .travis.yml

Development

TODO: Write instructions for development

Contributing

  1. Fork it ( https://github.com/generate.cr/generate/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • waterlink Oleksii Fedorov - creator, maintainer

About

Generic tool for generating whole Crystal project structure, or any part of it during lifetime of project

License:MIT License


Languages

Language:Crystal 90.8%Language:Shell 9.2%