Components

The available components and their default options are same as the Project Generator.

Options Default Aliases Description
app -n the application name
root . -r the root destination path for the project
adapter sqlite -a specify orm db adapter (sqlite, mysql, mysql2, mysql-gem, postgres)

Examples

Show help and selected components:

$ padrino g component

Add to minirecord with mysql and rspec in your project:

$ padrino g component -d minirecord -a mysql2 -t rspec

Type to search the guides.