Skip to content

Instantly share code, notes, and snippets.

@bilby91
Created March 12, 2018 23:21
Show Gist options
  • Save bilby91/fb1752a95a37042eef6dc4f4d1adfe49 to your computer and use it in GitHub Desktop.
Save bilby91/fb1752a95a37042eef6dc4f4d1adfe49 to your computer and use it in GitHub Desktop.
➜ hanami_todo_app git:(master) ✗ hanami generate model list
create lib/hanami_todo_app/entities/list.rb
create lib/hanami_todo_app/repositories/list_repository.rb
create db/migrations/20170531214217_create_lists.rb
create spec/hanami_todo_app/entities/list_spec.rb
create spec/hanami_todo_app/repositories/list_repository_spec.rb
➜ hanami_todo_app git:(master) ✗ hanami generate model task
create lib/hanami_todo_app/entities/task.rb
create lib/hanami_todo_app/repositories/task_repository.rb
create db/migrations/20170531214247_create_tasks.rb
create spec/hanami_todo_app/entities/task_spec.rb
create spec/hanami_todo_app/repositories/task_repository_spec.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment