Console and run

Rails console

$ hadoken console

Opens an interactive Rails console on the running app. Requires kubectl in your PATH.

One-off commands

$ hadoken run -- rails db:migrate $ hadoken run -- rails db:seed $ hadoken run -- rails runner "puts User.count" $ hadoken run -i -- bash

Separate the command from flags with --. Use -i for interactive sessions.