heroku-manifest
v0.2.0
Published
Heroku plugin for manipulating app.json manifests
Downloads
13
Readme
Heroku Manifest Plugin for Heroku Toolbelt 4.0
Read more about Toolbelt 4.0 plugins here.
How to install this plugin
Note: These Node.js plugins are available in the current Ruby CLI. No need to download a separate Toolbelt 4.0 CLI.
$ heroku plugins:install heroku-manifest
Using App.json Manifests
Create an initial app.json manifest
$ heroku manifest:init -a example
Creating app.json... done
Added 2 config vars (BUILDPACK_URL,COOKIE_SECRET)
Added 1 add-on (heroku-postgresql)
Added 2 processes (web,worker)
! Please inspect app.json for private or sensitive information
Always review the app.json file for sensitive information or other changes such as config vars that are optional.
Create a new Heroku from an existing repo, using its app.json
$ heroku manifest:clone heroku/node-js-sample
Cloning from https://api.github.com/repos/heroku/node-js-sample/tarball/master... done
Created serene-lake-6676
Print the app.json manifest for an app
$ heroku manifest -a example
{
"name":"example",
"env":{
"BUILDPACK_URL":"https://github.com/markpundsack/heroku-buildpack-ruby.git",
"COOKIE_SECRET": :{
"generator":"secret"
}
},
"addons":[
"heroku-postgresql"
]
}
Validate a local app.json manifest
$ heroku manifest:validate
app.json is valid