The Heroku API key can be obtained from the "Manage Account" section in your Heroku account.
and set it in Slack with the command setenv NESTOR_HEROKU_API_KEY=heroku-api-key
heroku list apps <app name filter>
- Lists all apps or filtered by the nameheroku info <app>
- Returns useful information about the appheroku dynos <app>
- Lists all dynos and their statusheroku releases <app>
- Latest 10 releasesheroku rollback <app>
- Rollback to a releaseheroku restart <app> <dyno>
- Restarts the specified app or dyno/s (e.g. worker
or web.2
)heroku migrate <app>
- Runs migrations. Remember to restart the app =)heroku config <app>
- Get config keys for the app. Values not given for securityheroku config:set <app> <KEY=value>
- Set KEY to value. Case sensitive and overrides present keyheroku config:unset <app> <KEY>
- Unsets KEY, does not throw error if key is not presentFor example, heroku config:set API_KEY=12345
and so on
The source for this app is available at asknestor-apps/heroku