create-crystal-app

Version, currently 0.1.01 version
  • 0.1.0latestApr 1, 2021

github.com/GeopJr/create-crystal-app

An unopinionated user-friendly crystal init alternative

14 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  create-crystal-app:
    github: GeopJr/create-crystal-app
    version: ~> 0.1.0

Then run:

shards install

shard.yml

Crystal
1.0.0
License
MIT
Author
Evangelos Paterakis
Target
  • create-crystal-app from src/create-crystal-app.cr

Dependencies

Runtime Dependencies

README

Demo

Installation

Grab the latest static linked binary from the releases page.

All binaries are being built and pushed by our lovely github actions. Feel free to take a look at them or build it yourself!

Usage

With the powers of crystal-term/prompt, cca comes with a beautiful interactive CLI menu, allowing you to pick between all the available options with ease!

FaQ

  • Why?
  • crystal init is quite a bit opinionated, for example: it comes with MIT license, assumes you are using github, comes with travis-ci config and so on.

  • Why is --ignore-crystal-version required?
  • Many of the shards cca depends on are not updated for 1.0.0 (they work like a charm though).

  • Why not ecr?
  • I needed more control over the file structure which ecr doesn't provide. Thankfully there are many template engines for Crystal like crustache and crinja. For bundling the files into the binary I used baked_file_system.

X is missing

Feel free to open an issue or a PR! For the most part everything is automatic and you only need to create the template file under templates/.