All Projects → generate-cr → generate

generate-cr / generate

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

Programming Languages

crystal
512 projects
shell
77523 projects

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].