npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@heroku-cli/plugin-data

v1.3.3

Published

A Heroku CLI Plugin for managing Heroku Data

Downloads

417

Readme

Heroku CLI Data Plugin

A Heroku CLI Plugin for managing Heroku Data Addons and Features

  • Connectors
  • Enhanced Certificates

oclif Version Node CI Downloads/week License

You can read more about Heroku Data Connectors on Dev Center.

You can read more about Heroku Data Enhanced Certificates on the Dev Center.

Usage

$ heroku plugins:install data
$ heroku COMMAND
running command...
$ heroku (-v|--version|version)
@heroku-cli/plugin-data-connectors/0.2.2 darwin-x64 node-v12.10.0
$ heroku --help [COMMAND]
USAGE
  $ heroku COMMAND
...

Commands

heroku data:connectors

List all Data Connectors for a particular app or addon

USAGE
  $ heroku data:connectors

OPTIONS
  -a, --app=app        app to run command against
  -r, --remote=remote  git remote of app to use
  --addon=addon        The ID or name for the addon your connector is attached to
  --json               Return the results as JSON
  --table              Return the results as a table

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors

ALIASES
  $ heroku data:connectors:list

EXAMPLES
  heroku data:connectors -a your-app
  heroku data:connectors --app=your-app --json
  heroku data:connectors --addon=your-postgres-addon --table

See code: src/commands/data/connectors/index.ts

heroku data:connectors:create

create a new Data Connector

USAGE
  $ heroku data:connectors:create

OPTIONS
  -a, --app=app                    app to run command against
  -t, --table=table                (required) Tables to include
  --exclude-column=exclude-column  Columns to exclude
  --name=name                      Name of the connector
  --source=source                  (required) The name of the database add-on whose change data you want to store
  --store=store                    (required) The name of the database add-on that will store the change data

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors

EXAMPLES
  $ heroku data:connectors:create --store kafka-lovely-12345 --source postgresql-neato-98765 --table public.posts 
  --table public.comments
  $ heroku data:connectors:create --store kafka-lovely-12345 --source postgresql-neato-98765 --table public.users 
  --exclude-column public.users.password

See code: src/commands/data/connectors/create.ts

heroku data:connectors:destroy [CONNECTOR]

Destroy a Data Connector

USAGE
  $ heroku data:connectors:destroy [CONNECTOR]

OPTIONS
  --confirm=confirm  confirms destroying the connector if passed in

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors

EXAMPLES
  $ heroku data:connectors:destroy gentle-connector-1234
  $ heroku data:connectors:destroy gentle-connector-1234 --confirm gentle-connector-1234

See code: src/commands/data/connectors/destroy.ts

heroku data:connectors:info [CONNECTOR]

Get information about a Data Connector

USAGE
  $ heroku data:connectors:info [CONNECTOR]

OPTIONS
  --json  Return the results as JSON

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors

EXAMPLES
  $ heroku data:connectors:info gentle-connector-1234
  $ heroku data:connectors:info gentle-connector-1234 --json

See code: src/commands/data/connectors/info.ts

heroku data:connectors:pause [CONNECTOR]

Pause change event creation on a Data Connector

USAGE
  $ heroku data:connectors:pause [CONNECTOR]

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors

EXAMPLE
  $ heroku data:connectors:pause gentle-connector-1234

See code: src/commands/data/connectors/pause.ts

heroku data:connectors:resume [CONNECTOR]

Resume change event creation on a Data Connector

USAGE
  $ heroku data:connectors:resume [CONNECTOR]

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors

EXAMPLE
  $ heroku data:connectors:resume gentle-connector-1234

See code: src/commands/data/connectors/resume.ts

heroku data:connectors:update [CONNECTOR]

Update the settings, tables, and columns to exclude for a Data Connector

USAGE
  $ heroku data:connectors:update [CONNECTOR]

OPTIONS
  --add-table=add-table                            Tables to add
  --exclude-column=exclude-column                  Columns to exclude
  --remove-excluded-column=remove-excluded-column  Columns to no longer exclude
  --remove-table=remove-table                      Tables to remove
  --setting=setting

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors#update-configuration

EXAMPLE
  $ heroku data:connectors:update gentle-connector-1234 --setting key=value --setting otherKey=otherValue --add-table 
  public.posts --add-table public.people --remove-table public.messages --exclude-column public.posts.key 
  --remove-excluded-column public.parcels.key

See code: src/commands/data/connectors/update.ts

heroku data:connectors:wait [CONNECTOR]

Wait for your Data Connector to be provisioned

USAGE
  $ heroku data:connectors:wait [CONNECTOR]

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-connectors

EXAMPLE
  $ heroku data:connectors:wait gentle-connector-1234

See code: src/commands/data/connectors/wait.ts

heroku data:enhanced-certificates:disable [ADDON]

Disable enhanced certificates on an Addon

USAGE
  $ heroku data:enhanced-certificates:disable [ADDON]

OPTIONS
  -a, --app=app  app to run command against

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates

See code: src/commands/data/enhanced-certificates/disable.ts

heroku data:enhanced-certificates:enable [ADDON]

Enable enhanced certificates on an Addon

USAGE
  $ heroku data:enhanced-certificates:enable [ADDON]

OPTIONS
  -a, --app=app  app to run command against

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates

EXAMPLE
  $ heroku data:enhanced-certificates:enable happy-postgres-1234 -a example-app

See code: src/commands/data/enhanced-certificates/enable.ts

heroku data:enhanced-certificates:status [ADDON]

Get the status of Enhanced Certificates

USAGE
  $ heroku data:enhanced-certificates:status [ADDON]

OPTIONS
  -a, --app=app  app to run command against
  --json         Return the results as JSON

DESCRIPTION
  Read more about this feature at https://devcenter.heroku.com/articles/heroku-data-enhanced-certificates

See code: src/commands/data/enhanced-certificates/status.ts

heroku data:labs:disable [FEATURE]

Disable experimental features on an addon

USAGE
  $ heroku data:labs:disable [FEATURE]

OPTIONS
  -a, --app=app  app to run command against
  --addon=addon  (required) The addon you want to disable features on

EXAMPLE
  $ heroku data:labs:disable wal-compression --addon=happy-postgres-1234 -a example-app

See code: src/commands/data/labs/disable.ts

heroku data:labs:enable [FEATURE]

Enable experimental features on an addon

USAGE
  $ heroku data:labs:enable [FEATURE]

OPTIONS
  -a, --app=app  app to run command against
  --addon=addon  (required) The addon you want to enable features on

EXAMPLE
  $ heroku data:labs:enable wal-compression --addon=happy-postgres-1234 -a example-app

See code: src/commands/data/labs/enable.ts

heroku data:labs:list [ADDON]

List available experimental features on an addon and their statuses

USAGE
  $ heroku data:labs:list [ADDON]

OPTIONS
  -a, --app=app  app to run command against

EXAMPLE
  $ heroku data:labs:list happy-postgres-1234

See code: src/commands/data/labs/list.ts