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-enterprise

v4.0.3

Published

CLI to manage Heroku Enterprise Accounts

Downloads

525

Readme

Heroku CLI Enterprise Plugin

CLI to manage Heroku Enterprise Accounts

oclif

Usage

$ heroku plugins:install @heroku-cli/plugin-enterprise
$ heroku COMMAND
running command...
$ heroku --help [COMMAND]
USAGE
  $ heroku COMMAND
...

Commands

heroku enterprise

list your enterprise accounts

USAGE
  $ heroku enterprise

EXAMPLE
  $ heroku enterprise

See code: src/commands/enterprise/index.ts

heroku enterprise:audits

list available audit logs for an enterprise account

USAGE
  $ heroku enterprise:audits

OPTIONS
  -e, --enterprise-account=enterprise-account  (required) enterprise account name
  -x, --extended                               show extra columns
  --json                                       display as json

EXAMPLE
  $ heroku enterprise:audits --enterprise-account=account-name

See code: src/commands/enterprise/audits/index.ts

heroku enterprise:audits:export [LOG]

export an audit log for an enterprise account

USAGE
  $ heroku enterprise:audits:export [LOG]

ARGUMENTS
  LOG  audit log date (YYYY-MM)

OPTIONS
  -d, --dest=dest                              download destination for the exported audit log
  -e, --enterprise-account=enterprise-account  (required) enterprise account name
  -f, --force                                  overwrite existing file during download

EXAMPLES
  $ heroku enterprise:audits:export 2018-11 --enterprise-account=account-name
  $ heroku enterprise:audits:export 2018-11 --enterprise-account=account-name --dest=/tmp
  $ heroku enterprise:audits:export 2018-11 --enterprise-account=account-name --dest=/tmp/audit_report.json.gz
  $ heroku enterprise:audits:export 2018-11 --enterprise-account=account-name --dest=/tmp/audit_report.json.gz --force

See code: src/commands/enterprise/audits/export.ts

heroku enterprise:members

list members of the enterprise account and their permissions

USAGE
  $ heroku enterprise:members

OPTIONS
  -e, --enterprise-account=enterprise-account  (required) enterprise account name
  --columns=columns                            only show provided columns (comma-separated)
  --csv                                        output is csv format [alias: --output=csv]
  --filter=filter                              filter property by partial string matching, ex: name=foo
  --no-header                                  hide table header from output
  --no-truncate                                do not truncate output to fit screen
  --output=csv|json|yaml                       output in a more machine friendly format
  --sort=sort                                  property to sort by (prepend '-' for descending)

EXAMPLE
  $ heroku enterprise:members --enterprise-account=account-name

See code: src/commands/enterprise/members/index.ts

heroku enterprise:members:add EMAIL

add a member to an enterprise account

USAGE
  $ heroku enterprise:members:add EMAIL

OPTIONS
  -e, --enterprise-account=enterprise-account  (required) enterprise account name
  -p, --permissions=permissions                (required) permissions to grant the member (comma-separated)

ALIASES
  $ heroku enterprise:members-add

EXAMPLE
  $ heroku enterprise:members:add member-email --enterprise-account=account-name 
  --permissions=billing,create,manage,view

See code: src/commands/enterprise/members/add.ts

heroku enterprise:members:permissions:add EMAIL

adds permissions to the member of an enterprise account

USAGE
  $ heroku enterprise:members:permissions:add EMAIL

OPTIONS
  -e, --enterprise-account=enterprise-account  (required) enterprise account name
  -p, --permissions=permissions                (required) permissions to grant the member (comma-separated)

EXAMPLE
  $ heroku enterprise:members:permissions:add member-email --enterprise-account=account-name 
  --permissions=billing,create,manage,view

See code: src/commands/enterprise/members/permissions/add.ts

heroku enterprise:members:permissions:remove EMAIL

removes permissions from the member of an enterprise account

USAGE
  $ heroku enterprise:members:permissions:remove EMAIL

OPTIONS
  -e, --enterprise-account=enterprise-account  (required) enterprise account name
  -p, --permissions=permissions                (required) permissions to remove from the member (comma-separated)

EXAMPLE
  $ heroku enterprise:members:permissions:remove member-name --enterprise-account=account-name 
  --permissions=billing,create,manage,view

See code: src/commands/enterprise/members/permissions/remove.ts

heroku enterprise:members:remove EMAIL

remove a member from an enterprise account

USAGE
  $ heroku enterprise:members:remove EMAIL

OPTIONS
  -e, --enterprise-account=enterprise-account  (required) enterprise account name

ALIASES
  $ heroku enterprise:members-remove

EXAMPLE
  $ heroku enterprise:members:remove member-name --enterprise-account=account-name

See code: src/commands/enterprise/members/remove.ts

heroku enterprise:rename NEWACCOUNTNAME

rename the enterprise account

USAGE
  $ heroku enterprise:rename NEWACCOUNTNAME

ARGUMENTS
  NEWACCOUNTNAME  new enterprise account name

OPTIONS
  -e, --enterprise-account=enterprise-account  (required) enterprise account name

EXAMPLE
  $ heroku enterprise:rename new-account-name --enterprise-account=account-name

See code: src/commands/enterprise/rename.ts

heroku enterprise:teams

list teams within an enterprise account

USAGE
  $ heroku enterprise:teams

OPTIONS
  -e, --enterprise-account=enterprise-account  (required) enterprise account name
  --columns=columns                            only show provided columns (comma-separated)
  --csv                                        output is csv format [alias: --output=csv]
  --filter=filter                              filter property by partial string matching, ex: name=foo
  --no-header                                  hide table header from output
  --no-truncate                                do not truncate output to fit screen
  --output=csv|json|yaml                       output in a more machine friendly format
  --sort=sort                                  property to sort by (prepend '-' for descending)

EXAMPLE
  $ heroku enterprise:teams --enterprise-account=account-name

See code: src/commands/enterprise/teams/index.ts

heroku enterprise:teams:create [TEAM]

create a team in an enterprise account

USAGE
  $ heroku enterprise:teams:create [TEAM]

ARGUMENTS
  TEAM  name of the team to create

OPTIONS
  -e, --enterprise-account=enterprise-account  (required) enterprise account name

EXAMPLE
  $ heroku enterprise:teams:create team-name --enterprise-account=account-name

See code: src/commands/enterprise/teams/create.ts

heroku enterprise:teams:remove TEAM

remove a team from an enterprise account

USAGE
  $ heroku enterprise:teams:remove TEAM

EXAMPLE
  $ heroku enterprise:teams:remove team-name

See code: src/commands/enterprise/teams/remove.ts

heroku enterprise:usage:daily

list the daily usage for an enterprise account or team

USAGE
  $ heroku enterprise:usage:daily

OPTIONS
  -e, --enterprise-account=enterprise-account  enterprise account name
  -t, --team=team                              team name
  --columns=columns                            only show provided columns (comma-separated)
  --csv                                        output is csv format

  --end-date=end-date                          (required) end date of the usage period, inclusive, cannot be more than
                                               31 days after the start date (YYYY-MM-DD)

  --filter=filter                              filter property by partial string matching, ex: name=foo

  --no-header                                  hide table header from output

  --no-truncate                                do not truncate output to fit screen

  --output=csv|json|yaml                       output in a more machine friendly format

  --sort=sort                                  property to sort by (prepend '-' for descending)

  --start-date=start-date                      (required) start date of the usage period, cannot be more than 6 months
                                               prior to today (YYYY-MM-DD)

DESCRIPTION
  Displays the daily usage data for an enterprise account or team.

  NOTE: While we strive to provide the most accurate usage information, the data
  presented here may not reflect license usage or billing for your account.

EXAMPLES
  $ heroku enterprise:usage:daily --enterprise-account=account-name --start-date=2019-01-01 --end-date=2019-01-15
  $ heroku enterprise:usage:daily --enterprise-account=account-name --start-date=2019-01-01 --end-date=2019-01-15 
  --columns='team,app,dyno,data'
  $ heroku enterprise:usage:daily --enterprise-account=account-name --start-date=2019-01-01 --end-date=2019-01-15 
  --columns='team,app,dyno,data' --sort='-data,app'
  $ heroku enterprise:usage:daily --enterprise-account=account-name --start-date=2019-01-01 --end-date=2019-01-15 
  --columns='team,app,dyno,data' --filter='app=myapp'
  $ heroku enterprise:usage:daily --enterprise-account=account-name --start-date=2019-01-01 --end-date=2019-01-15 --csv
  $ heroku enterprise:usage:daily --team=team-name --start-date=2019-01-01 --end-date=2019-01-15
  $ heroku enterprise:usage:daily --team=team-name --start-date=2019-01-01 --end-date=2019-01-15 
  --columns='app,dyno,data' --sort='-data,app'
  $ heroku enterprise:usage:daily --team=team-name --start-date=2019-01-01 --end-date=2019-01-15 --csv

See code: src/commands/enterprise/usage/daily.ts

heroku enterprise:usage:monthly

list the monthly usage for an enterprise account or team

USAGE
  $ heroku enterprise:usage:monthly

OPTIONS
  -e, --enterprise-account=enterprise-account  enterprise account name
  -t, --team=team                              team name
  --columns=columns                            only show provided columns (comma-separated)
  --csv                                        output is csv format
  --end-date=end-date                          end date of the usage period, inclusive (YYYY-MM)
  --filter=filter                              filter property by partial string matching, ex: name=foo
  --no-header                                  hide table header from output
  --no-truncate                                do not truncate output to fit screen
  --output=csv|json|yaml                       output in a more machine friendly format
  --sort=sort                                  property to sort by (prepend '-' for descending)

  --start-date=start-date                      start date of the usage period, defaults to current month if not provided
                                               (YYYY-MM)

DESCRIPTION
  Displays the monthly usage data for an enterprise account or team.

  NOTE: While we strive to provide the most accurate usage information, the data
  presented here may not reflect license usage or billing for your account.

EXAMPLES
  $ heroku enterprise:usage:monthly --enterprise-account=account-name
  $ heroku enterprise:usage:monthly --enterprise-account=account-name --columns='team,app,dyno,data'
  $ heroku enterprise:usage:monthly --enterprise-account=account-name --columns='team,app,dyno,data' --sort='-data,app'
  $ heroku enterprise:usage:monthly --enterprise-account=account-name --columns='team,app,dyno,data' 
  --filter='app=myapp'
  $ heroku enterprise:usage:monthly --enterprise-account=account-name --csv
  $ heroku enterprise:usage:monthly --team=team-name --start-date 2019-01
  $ heroku enterprise:usage:monthly --team=team-name --start-date 2019-01 --end-date 2019-03
  $ heroku enterprise:usage:monthly --team=team-name --columns='app,dyno,data' --sort='-data,app'
  $ heroku enterprise:usage:monthly --team=team-name --csv

See code: src/commands/enterprise/usage/monthly.ts