Generators
Components
The available components and their default options are same as the Project Generator.
Options | Default | Aliases | Description |
---|---|---|---|
root | . | -r | the root destination path for the project |
adapter | sqlite | -a | specify orm db adapter (mysql, sqlite, 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
last updated: 2022-02-22
comments powered by Disqus