Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

heroku-cli-addons

Package Overview
Dependencies
Maintainers
8
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heroku-cli-addons - npm Package Compare versions

Comparing version 1.2.21 to 1.2.22

.idea/heroku-cli-addons.iml

68

commands/addons/index.js

@@ -294,68 +294,6 @@ 'use strict'

$ heroku ${topic} --all
$ heroku ${topic} --app acme-inc-www
$ heroku ${topic} --all
$ heroku ${topic} --app acme-inc-www
Overview of Add-ons:
Add-ons are created with the \`addons:create\` command, providing a reference
to an add-on service (such as \`heroku-postgresql\`) or a service and plan
(such as \`heroku-postgresql:hobby-dev\`).
At creation, each add-on is given a globally unique name. In addition, each
add-on has at least one attachment alias to each application which uses the
add-on. In all cases, the owning application will be attached to the add-on.
An attachment alias is unique to its application, and is used as a prefix to
any environment variables it exports to the application.
In this example, a \`heroku-postgresql\` add-on is created and its given name
is \`postgresql-deep-6913\` with a default attachment alias of \`DATABASE\`:
$ heroku addons:create heroku-postgresql --app my-app
Creating postgresql-deep-6913... done, (free)
Adding postgresql-deep-6913 to my-app... done
Setting DATABASE_URL and restarting my-app... done, v5
Database has been created and is available
$ heroku addons --app my-app
Add-on Plan Price
───────────────────────────────────────── ───────── ─────
heroku-postgresql (postgresql-deep-6913) hobby-dev free
└─ as DATABASE
The add-on name and, in some cases, the attachment alias can be specified by
the user. For instance, we can add a second database to the app, specifying
both these identifiers:
$ heroku addons:create heroku-postgresql --app my-app --name main-db --as PRIMARY_DB
Creating main-db... done, (free)
Adding main-db to my-app... done
Setting PRIMARY_DB_URL and restarting my-app... done, v6
Database has been created and is available
$ heroku addons --app my-app
Add-on Plan Price
───────────────────────────────────────── ───────── ─────
heroku-postgresql (main-db) hobby-dev free
└─ as PRIMARY_DB
heroku-postgresql (postgresql-deep-6913) hobby-dev free
└─ as DATABASE
Attachment aliases can also be specified when making attachments:
$ heroku addons:attach main-db --app my-app --as ANOTHER_NAME
Attaching main-db as ANOTHER_NAME to my-app... done
Setting ANOTHER_NAME vars and restarting my-app... done, v7
$ heroku addons --app my-app
Add-on Plan Price
───────────────────────────────────────── ───────── ─────
heroku-postgresql (main-db) hobby-dev free
├─ as PRIMARY_DB
└─ as ANOTHER_NAME
heroku-postgresql (postgresql-deep-6913) hobby-dev free
└─ as DATABASE
For more information, read https://devcenter.heroku.com/articles/add-ons.`
`
}

@@ -110,3 +110,3 @@ 'use strict'

https://devcenter.heroku.com/articles/managing-add-ons
[https://devcenter.heroku.com/articles/managing-add-ons](https://devcenter.heroku.com/articles/managing-add-ons)

@@ -117,7 +117,7 @@ Examples:

$ heroku addons:upgrade heroku-redis:premium-2
$ heroku addons:upgrade heroku-redis:premium-2
Upgrade a specific add-on:
$ heroku addons:upgrade swimming-briskly-123 heroku-redis:premium-2
$ heroku addons:upgrade swimming-briskly-123 heroku-redis:premium-2
`,

@@ -124,0 +124,0 @@ needsAuth: true,

@@ -7,3 +7,65 @@ 'use strict'

name: 'addons',
description: 'manage add-ons'
overview: `Overview of Add-ons:
Add-ons are created with the \`addons:create\` command, providing a reference
to an add-on service (such as \`heroku-postgresql\`) or a service and plan
(such as \`heroku-postgresql:hobby-dev\`).
At creation, each add-on is given a globally unique name. In addition, each
add-on has at least one attachment alias to each application which uses the
add-on. In all cases, the owning application will be attached to the add-on.
An attachment alias is unique to its application, and is used as a prefix to
any environment variables it exports to the application.
In this example, a \`heroku-postgresql\` add-on is created and its given name
is \`postgresql-deep-6913\` with a default attachment alias of \`DATABASE\`:
$ heroku addons:create heroku-postgresql --app my-app
Creating postgresql-deep-6913... done, (free)
Adding postgresql-deep-6913 to my-app... done
Setting DATABASE_URL and restarting my-app... done, v5
Database has been created and is available
$ heroku addons --app my-app
Add-on Plan Price
───────────────────────────────────────── ───────── ─────
heroku-postgresql (postgresql-deep-6913) hobby-dev free
└─ as DATABASE
The add-on name and, in some cases, the attachment alias can be specified by
the user. For instance, we can add a second database to the app, specifying
both these identifiers:
$ heroku addons:create heroku-postgresql --app my-app --name main-db --as PRIMARY_DB
Creating main-db... done, (free)
Adding main-db to my-app... done
Setting PRIMARY_DB_URL and restarting my-app... done, v6
Database has been created and is available
$ heroku addons --app my-app
Add-on Plan Price
───────────────────────────────────────── ───────── ─────
heroku-postgresql (main-db) hobby-dev free
└─ as PRIMARY_DB
heroku-postgresql (postgresql-deep-6913) hobby-dev free
└─ as DATABASE
Attachment aliases can also be specified when making attachments:
$ heroku addons:attach main-db --app my-app --as ANOTHER_NAME
Attaching main-db as ANOTHER_NAME to my-app... done
Setting ANOTHER_NAME vars and restarting my-app... done, v7
$ heroku addons --app my-app
Add-on Plan Price
───────────────────────────────────────── ───────── ─────
heroku-postgresql (main-db) hobby-dev free
├─ as PRIMARY_DB
└─ as ANOTHER_NAME
heroku-postgresql (postgresql-deep-6913) hobby-dev free
└─ as DATABASE
For more information, read [https://devcenter.heroku.com/articles/add-ons](https://devcenter.heroku.com/articles/add-ons).`
}

@@ -10,0 +72,0 @@

{
"name": "heroku-cli-addons",
"description": "`heroku addons:*` commands",
"version": "1.2.21",
"version": "1.2.22",
"author": "Bo Jeanes @bjeanes",

@@ -6,0 +6,0 @@ "bugs": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc