# Configuration ignores files generated by the init command

**URL:** <https://forum.crystal-lang.org/t/configuration-ignores-files-generated-by-the-init-command/538>\
**Category:** Help & Support\
**Created:** [March 10, 2019, 10:45pm UTC](https://forum.crystal-lang.org/t/configuration-ignores-files-generated-by-the-init-command/538 "2019-03-10T22:45:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hentioe](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/hentioe/32/722_2.png) [@Hentioe](https://forum.crystal-lang.org/u/Hentioe)\
**Post date:** [March 10, 2019, 10:45pm UTC](https://forum.crystal-lang.org/t/configuration-ignores-files-generated-by-the-init-command/538/1 "2019-03-10T22:45:14Z")

</div>

Every time I use init to generate a new project, I manually remove `LICENSE` and `.travis.yml`. It would be nice if you could ignore them by modifying the crystal’s configuration file. But now crystal seems to be unable to configure.

---

<div class="post-metadata">

**Author:** ![bew](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/bew/32/113_2.png) [@bew](https://forum.crystal-lang.org/u/bew)\
**Post date:** [March 10, 2019, 11:46pm UTC](https://forum.crystal-lang.org/t/configuration-ignores-files-generated-by-the-init-command/538/2 "2019-03-10T23:46:12Z")

</div>

I agree, but there is no crytal configuration file…

Maybe it could only generate the bare minimum (no ci / license / etc…) with `crystal init` and have some flags like `--add-license` or `--add-ci` (with interactivity to select circleci &/ travis &/ other…).

The minimal `crystal init` would have a message at the end to tell the user what to do if he wants a licence / ci scripts / etc

---

<div class="post-metadata">

**Author:** ![konovod](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/konovod/32/229_2.png) [@konovod](https://forum.crystal-lang.org/u/konovod)\
**Post date:** [March 11, 2019, 7:22am UTC](https://forum.crystal-lang.org/t/configuration-ignores-files-generated-by-the-init-command/538/3 "2019-03-11T07:22:19Z")

</div>

Crystal is doing good work for newbies - I wouldn’t consider adding CI, or MIT license, or Readme, or specs to my projects if Crystal didn’t add them by default.  
So i think default behaviour should stay the same.  
Maybe env vars, like CRYSTAL\_INIT\_CONFIG="–no-license" could be marginally useful, but i think manually deleting two files isn’t much harder.

---

<div class="post-metadata">

**Author:** ![wontruefree](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/wontruefree/32/1467_2.png) [@wontruefree](https://forum.crystal-lang.org/u/wontruefree)\
**Post date:** [March 11, 2019, 8:18pm UTC](https://forum.crystal-lang.org/t/configuration-ignores-files-generated-by-the-init-command/538/4 "2019-03-11T20:18:29Z")

</div>

It seems weird that init would generate a travis ci since it is a specific vendor. I guess there is no generic ci file that could be generated.

---

<div class="post-metadata">

**Author:** ![straight-shoota](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.crystal-lang.org/straight-shoota/32/36_2.png) [@straight-shoota](https://forum.crystal-lang.org/u/straight-shoota)\
**Post date:** [March 11, 2019, 11:22pm UTC](https://forum.crystal-lang.org/t/configuration-ignores-files-generated-by-the-init-command/538/5 "2019-03-11T23:22:54Z")

</div>

`crystal init` is a really basic tool. It’s meant to be a good place to start for newcomers, so it adds a few obviously opinionated features which should help to get you started.

I don’t think it should be made more complex by allowing to much customization. Experienced developers would have very specific expectations for this tool anyway. I think they’re best met by a completely custom init script, which is simple enough to set up.
