heroku run:console

Options

NameDescription
-a, --app <app>App to run command against
-r, --remote <arg>The git remote to create, default "heroku"
-s, --size <arg>Dyno size
-e, --env <arg>Environment variables to set (use ';' to split multiple vars)