You’re viewing documentation for version v2.1.

View latest ->

Console

hanami console

Starts the Hanami console (REPL).

$ bundle exec hanami console

bookshelf[development]>

This command accepts an engine argument that can start the console using IRB or Pry.

$ bundle exec hanami console --engine=irb # (the default)
$ bundle exec hanami console --engine=pry