1.0.0 • Published 1 year ago

@heroku-cli/plugin-apps-table v1.0.0

Weekly downloads
54
License
MIT
Repository
github
Last release
1 year ago

@heroku-cli/plugin-apps-table

list apps as a table

oclif Version

Usage

$ heroku plugins:install apps-table
$ heroku apps:table

Commands

heroku apps:table

list apps in a custom table

USAGE
  $ heroku apps:table [-t <value>] [-o] [--columns <value> | -x] [--sort <value>] [--filter <value>] [--output
    csv|json|yaml |  | [--csv | --no-truncate]] [--no-header | ]

FLAGS
  -o, --owned         only display owned apps
  -t, --team=<value>  team to use
  -x, --extended      show extra columns
  --columns=<value>   only show provided columns (comma-separated)
  --csv               output is csv format [alias: --output=csv]
  --filter=<value>    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=<option>   output in a more machine friendly format
                      <options: csv|json|yaml>
  --sort=<value>      property to sort by (prepend '-' for descending)

DESCRIPTION
  list apps in a custom table

EXAMPLES
  $ heroku apps:table

  $ heroku apps:table --owned

  $ heroku apps:table --team=my-team

  $ heroku apps:table --team=my-team --columns='app name,stack,region'

  $ heroku apps:table --team=my-team --sort='app name'

  $ heroku apps:table --team=my-team --filter='stack=heroku-16'

  $ heroku apps:table --team=my-team --csv

  $ heroku apps:table --team=my-team --output=json

See code: src/commands/apps/table.ts

Developing

After cloning the repo 1. run yarn to install dependencies 1. run yarn prepack to generate the lib directory and oclif manifest

To execute Heroku CLI commands locally, use ./bin/run . For example, ./bin/run apps:table --filter="stack=heroku-20"