README.md in dry-web-roda-0.6.0 vs README.md in dry-web-roda-0.6.1

- old
+ new

@@ -11,24 +11,42 @@ [![Test Coverage](https://codeclimate.com/github/dry-rb/dry-web-roda/badges/coverage.svg)][codeclimate] [![Inline docs](http://inch-ci.org/github/dry-rb/dry-web-roda.svg?branch=master&style=flat)][inchpages] Integration between dry-web and roda. -dry-web-roda offers a CLI for generating new projects: +dry-web-roda offers a CLI for generating new projects. +### Umbrella projects + +To generate a new _umbrella project_ (functionality divided into sub-apps): + ```sh -$ dry-web-roda new <project_name> +$ dry-web-roda new <your_project_name> ``` -And building apps within projects: +And to generate sub-apps within your project: ```sh -$ dry-web-roda generate app <my_sub_app_name> +$ dry-web-roda generate sub_app <your_sub_app_name> --umbrella=<your_project_name> ``` +### Flat projects + +To generate a new _flat project_ (a simpler architecture, with a single module for your entire app): + +```sh +$ dry-web-roda new <your_project_name> --arch=flat +``` + ## LICENSE See `LICENSE` file. ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/dry-rb/dry-web-roda. + +## Acknowledgements + +The support code for testing the CLI and generated app are derived from +[hanami/hanami](https://github.com/hanami/hanami). Thank you to Luca and the +Hanami team!