@hesed/sentry
v0.5.2
Published
CLI for Sentry error tracking API interaction
Downloads
424
Readme
sentry
CLI for Sentry error tracking API interaction
Install
sdkck plugins install @hesed/sentryUsage
$ npm install -g @hesed/sentry
$ sentry COMMAND
running command...
$ sentry (--version)
@hesed/sentry/0.5.2 linux-x64 node-v24.17.0
$ sentry --help [COMMAND]
USAGE
$ sentry COMMAND
...Commands
sentry sentry auth addsentry sentry auth deletesentry sentry auth listsentry sentry auth profilesentry sentry auth testsentry sentry auth updatesentry sentry event PROJECTSLUG EVENTIDsentry sentry event source-maps PROJECTSLUG EVENTIDsentry sentry issue ISSUEIDsentry sentry issue event ISSUEID EVENTIDsentry sentry issue events ISSUEIDsentry sentry issue hashes ISSUEIDsentry sentry issue tag ISSUEID TAGKEYsentry sentry issue tag-values ISSUEID TAGKEYsentry sentry issue update ISSUEIDsentry sentry orgsentry sentry project events PROJECTSLUGsentry sentry project issues PROJECTSLUG
sentry sentry auth add
Add Sentry authentication
USAGE
$ sentry sentry auth add -p <value> -t <value> -o <value> -u <value> [--json]
FLAGS
-o, --organization=<value> (required) Organization slug
-p, --profile=<value> (required) Profile name
-t, --authToken=<value> (required) Auth token
-u, --host=<value> (required) Sentry base URL
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Add Sentry authentication
EXAMPLES
$ sentry sentry auth add
$ sentry sentry auth add -p prodSee code: src/commands/sentry/auth/add.ts
sentry sentry auth delete
Delete an authentication profile
USAGE
$ sentry sentry auth delete [--json] [-p <value>]
FLAGS
-p, --profile=<value> Profile to delete
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Delete an authentication profile
EXAMPLES
$ sentry sentry auth delete
$ sentry sentry auth delete -p prodSee code: src/commands/sentry/auth/delete.ts
sentry sentry auth list
List authentication profiles
USAGE
$ sentry sentry auth list [--json]
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List authentication profiles
EXAMPLES
$ sentry sentry auth listSee code: src/commands/sentry/auth/list.ts
sentry sentry auth profile
Set or show the default authentication profile
USAGE
$ sentry sentry auth profile [--json] [--default <value>]
FLAGS
--default=<value> Profile to set as default
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Set or show the default authentication profile
EXAMPLES
$ sentry sentry auth profile
$ sentry sentry auth profile --default testSee code: src/commands/sentry/auth/profile.ts
sentry sentry auth test
Test authentication and connection
USAGE
$ sentry sentry auth test [--json] [-p <value>]
FLAGS
-p, --profile=<value> Authentication profile name
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Test authentication and connection
EXAMPLES
$ sentry sentry auth test
$ sentry sentry auth test -p prodSee code: src/commands/sentry/auth/test.ts
sentry sentry auth update
Update Sentry authentication
USAGE
$ sentry sentry auth update -p <value> -t <value> -o <value> -u <value> [--json]
FLAGS
-o, --organization=<value> (required) Organization slug
-p, --profile=<value> (required) Profile name
-t, --authToken=<value> (required) Auth token
-u, --host=<value> (required) Sentry base URL
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Update Sentry authentication
EXAMPLES
$ sentry sentry auth update
$ sentry sentry auth update -p testSee code: src/commands/sentry/auth/update.ts
sentry sentry event PROJECTSLUG EVENTID
Retrieve a Sentry event for a project
USAGE
$ sentry sentry event PROJECTSLUG EVENTID [-p <value>] [--toon]
ARGUMENTS
PROJECTSLUG Project slug
EVENTID Event ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Retrieve a Sentry event for a project
EXAMPLES
$ sentry sentry event my-project abc123def456See code: src/commands/sentry/event/index.ts
sentry sentry event source-maps PROJECTSLUG EVENTID
Debug source maps for a Sentry event
USAGE
$ sentry sentry event source-maps PROJECTSLUG EVENTID [--exception-idx <value>] [--frame-idx <value>] [-p <value>]
[--toon]
ARGUMENTS
PROJECTSLUG Project slug
EVENTID Event ID
FLAGS
-p, --profile=<value> Authentication profile name
--exception-idx=<value> Exception index
--frame-idx=<value> Frame index
--toon Format output as toon
DESCRIPTION
Debug source maps for a Sentry event
EXAMPLES
$ sentry sentry event source-maps my-project abc123def456See code: src/commands/sentry/event/source-maps.ts
sentry sentry issue ISSUEID
Retrieve a Sentry issue
USAGE
$ sentry sentry issue ISSUEID [-p <value>] [--toon]
ARGUMENTS
ISSUEID Issue ID
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Retrieve a Sentry issue
EXAMPLES
$ sentry sentry issue 123456789See code: src/commands/sentry/issue/index.ts
sentry sentry issue event ISSUEID EVENTID
Retrieve a specific event from a Sentry issue
USAGE
$ sentry sentry issue event ISSUEID EVENTID [-p <value>] [--toon]
ARGUMENTS
ISSUEID Issue ID
EVENTID Event ID (latest, oldest, recommended, or event ID)
FLAGS
-p, --profile=<value> Authentication profile name
--toon Format output as toon
DESCRIPTION
Retrieve a specific event from a Sentry issue
EXAMPLES
$ sentry sentry issue event 123456789 latest
$ sentry sentry issue event 123456789 abc123def456See code: src/commands/sentry/issue/event.ts
sentry sentry issue events ISSUEID
List a Sentry issue's events
USAGE
$ sentry sentry issue events ISSUEID [--cursor <value>] [--end <value>] [--environment <value>...] [--full] [-p
<value>] [--start <value>] [--stats-period <value>] [--toon]
ARGUMENTS
ISSUEID Issue ID
FLAGS
-p, --profile=<value> Authentication profile name
--cursor=<value> Pagination cursor
--end=<value> End date (ISO-8601)
--environment=<value>... Filter by environment
--full Include full event body
--start=<value> Start date (ISO-8601)
--stats-period=<value> Time period (e.g. 24h, 7d)
--toon Format output as toon
DESCRIPTION
List a Sentry issue's events
EXAMPLES
$ sentry sentry issue events 123456789See code: src/commands/sentry/issue/events.ts
sentry sentry issue hashes ISSUEID
List a Sentry issue's hashes
USAGE
$ sentry sentry issue hashes ISSUEID [--cursor <value>] [-p <value>] [--toon]
ARGUMENTS
ISSUEID Issue ID
FLAGS
-p, --profile=<value> Authentication profile name
--cursor=<value> Pagination cursor
--toon Format output as toon
DESCRIPTION
List a Sentry issue's hashes
EXAMPLES
$ sentry sentry issue hashes 123456789See code: src/commands/sentry/issue/hashes.ts
sentry sentry issue tag ISSUEID TAGKEY
Retrieve tag details for a Sentry issue
USAGE
$ sentry sentry issue tag ISSUEID TAGKEY [--environment <value>...] [-p <value>] [--toon]
ARGUMENTS
ISSUEID Issue ID
TAGKEY Tag key (e.g. browser, url, user)
FLAGS
-p, --profile=<value> Authentication profile name
--environment=<value>... Filter by environment
--toon Format output as toon
DESCRIPTION
Retrieve tag details for a Sentry issue
EXAMPLES
$ sentry sentry issue tag 123456789 browserSee code: src/commands/sentry/issue/tag.ts
sentry sentry issue tag-values ISSUEID TAGKEY
List a tag's values for a Sentry issue
USAGE
$ sentry sentry issue tag-values ISSUEID TAGKEY [--cursor <value>] [--environment <value>...] [-p <value>] [--toon]
ARGUMENTS
ISSUEID Issue ID
TAGKEY Tag key (e.g. browser, url, user)
FLAGS
-p, --profile=<value> Authentication profile name
--cursor=<value> Pagination cursor
--environment=<value>... Filter by environment
--toon Format output as toon
DESCRIPTION
List a tag's values for a Sentry issue
EXAMPLES
$ sentry sentry issue tag-values 123456789 browserSee code: src/commands/sentry/issue/tag-values.ts
sentry sentry issue update ISSUEID
Update a Sentry issue
USAGE
$ sentry sentry issue update ISSUEID [--assigned-to <value>] [--has-seen] [--is-bookmarked] [--is-public]
[--is-subscribed] [-p <value>] [--status resolved|resolvedInNextRelease|unresolved|ignored] [--toon]
ARGUMENTS
ISSUEID Issue ID
FLAGS
-p, --profile=<value> Authentication profile name
--assigned-to=<value> Assign to user (actor ID or username)
--[no-]has-seen Mark issue as seen/unseen
--[no-]is-bookmarked Bookmark or unbookmark issue
--[no-]is-public Make issue public or private
--[no-]is-subscribed Subscribe or unsubscribe from issue
--status=<option> Issue status (resolved, resolvedInNextRelease, unresolved, ignored)
<options: resolved|resolvedInNextRelease|unresolved|ignored>
--toon Format output as toon
DESCRIPTION
Update a Sentry issue
EXAMPLES
$ sentry sentry issue update 123456789 --status resolved
$ sentry sentry issue update 123456789 --assigned-to [email protected]See code: src/commands/sentry/issue/update.ts
sentry sentry org
List a Sentry organization's issues
USAGE
$ sentry sentry org [--cursor <value>] [--end <value>] [--environment <value>...] [--limit <value>] [-p
<value>] [--project <value>...] [--query <value>] [--sort <value>] [--start <value>] [--stats-period <value>]
[--toon]
FLAGS
-p, --profile=<value> Authentication profile name
--cursor=<value> Pagination cursor
--end=<value> End date (ISO-8601)
--environment=<value>... Filter by environment
--limit=<value> Maximum number of results
--project=<value>... Filter by project ID
--query=<value> Search query (e.g. "is:unresolved")
--sort=<value> Sort order
--start=<value> Start date (ISO-8601)
--stats-period=<value> Time period (e.g. 24h, 7d)
--toon Format output as toon
DESCRIPTION
List a Sentry organization's issues
EXAMPLES
$ sentry sentry org
$ sentry sentry org --query "is:unresolved" --limit 50See code: src/commands/sentry/org/index.ts
sentry sentry project events PROJECTSLUG
List a Sentry project's error events
USAGE
$ sentry sentry project events PROJECTSLUG [--cursor <value>] [--end <value>] [--full] [-p <value>] [--start <value>]
[--stats-period <value>] [--toon]
ARGUMENTS
PROJECTSLUG Project slug
FLAGS
-p, --profile=<value> Authentication profile name
--cursor=<value> Pagination cursor
--end=<value> End date (ISO-8601)
--full Include full event body
--start=<value> Start date (ISO-8601)
--stats-period=<value> Time period (e.g. 24h, 7d)
--toon Format output as toon
DESCRIPTION
List a Sentry project's error events
EXAMPLES
$ sentry sentry project events my-projectSee code: src/commands/sentry/project/events.ts
sentry sentry project issues PROJECTSLUG
List a Sentry project's issues
USAGE
$ sentry sentry project issues PROJECTSLUG [--cursor <value>] [-p <value>] [--query <value>] [--short-id-lookup]
[--stats-period <value>] [--toon]
ARGUMENTS
PROJECTSLUG Project slug
FLAGS
-p, --profile=<value> Authentication profile name
--cursor=<value> Pagination cursor
--query=<value> Search query (e.g. "is:unresolved")
--short-id-lookup Enable short ID lookup
--stats-period=<value> Time period (e.g. 24h, 7d)
--toon Format output as toon
DESCRIPTION
List a Sentry project's issues
EXAMPLES
$ sentry sentry project issues my-project
$ sentry sentry project issues my-project --query "is:unresolved"See code: src/commands/sentry/project/issues.ts
