Command Line


We can generate a new project via hanami new, followed by the name that we want to use.

% hanami new bookshelf


The default database engine is SQLite.

We can use the --database argument to let Hanami to generate code for a specific database.

It supports:

Testing Framework

The default testing framework is Minitest.

We can use the --test argument to specify a different framework, from the list below:

Prev: Assets - Use Your Own Assets Management Tool
Next: Command Line - Generators
Looking for Lotus? We renamed the project and it's now called Hanami. Read the announcement.