Skip to content

s5no5t/sentry-issues-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sentry-issues-cli

Display unresolved issues from Sentry.

With the --fail parameter set to true, sentry-issues-cli returns a non-zero code when there is at least one unresolved issue. This can be used to break a CI pipeline.

Installation

Use npm install -g sentry-issues-cli to install.

Usage

Run sentry-issues-cli see available options.

Available options:

Options:
  --help          Show help                                            [boolean]
  --version       Show version number                                  [boolean]
  --project       Project name in Sentry                     [string] [required]
  --organization  Organization name in Sentry                [string] [required]
  --sentryToken   Sentry authentication token                [string] [required]
  --level         Sentry issue level
                     [string] [choices: "warning", "error"] [default: "warning"]
  --lastSeen      Time interval in which issues were last seen (see
                  https://docs.sentry.io/product/sentry-basics/search for
                  details)                        [string] [choices: "1d", "7d"]
  --fail          Return non-zero code when there is at least one unresolved
                  issue in Sentry                     [boolean] [default: false]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published