heroku-set-app
v0.1.0
Published
always set HEROKU_APP to a configured value
Downloads
5
Readme
heroku-set-app
always set HEROKU_APP to a configured value
Usage
$ heroku plugins:install cadecairos/heroku-set-app
$ heroku set-app:set my-app
HEROKU_APP will be set to my-app until unset
$ heroku ps
=== web (Standard-1X): npm start (1)
web.1: up 2020/05/21 18:00:00 -0400 (~ 1h ago)
$ heroku set-app:delete
Deleted my-app from the set-app config
...
Commands
heroku set-app:set appName
Saves 'appName' to a user configuration file, which is applied to process.env.HEROKU_APP
using an oclif hook.
USAGE
$ heroku set-app:set appName
See code: src/commands/set-app/set.js
heroku set-app:delete
Removes any value of appName from the config file
USAGE
$ heroku set-app:delete
See code: src/commands/set-app/delete.js