@hesed/sentry 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +23 -23
- package/dist/commands/sentry/auth/add.js +1 -1
- package/dist/commands/sentry/issue/update.js +5 -1
- package/oclif.manifest.json +110 -110
- package/package.json +3 -5
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2026 Hesed
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ $ npm install -g @hesed/sentry
|
|
|
26
26
|
$ sentry COMMAND
|
|
27
27
|
running command...
|
|
28
28
|
$ sentry (--version)
|
|
29
|
-
@hesed/sentry/0.1
|
|
29
|
+
@hesed/sentry/0.2.1 linux-x64 node-v22.22.0
|
|
30
30
|
$ sentry --help [COMMAND]
|
|
31
31
|
USAGE
|
|
32
32
|
$ sentry COMMAND
|
|
@@ -59,11 +59,11 @@ Add Sentry authentication
|
|
|
59
59
|
|
|
60
60
|
```
|
|
61
61
|
USAGE
|
|
62
|
-
$ sentry sentry auth add
|
|
62
|
+
$ sentry sentry auth add -o <value> -t <value> [--json] [-u <value>]
|
|
63
63
|
|
|
64
64
|
FLAGS
|
|
65
|
-
-o, --organization=<value> Sentry organization slug:
|
|
66
|
-
-t, --token=<value> Auth Token:
|
|
65
|
+
-o, --organization=<value> (required) Sentry organization slug:
|
|
66
|
+
-t, --token=<value> (required) Auth Token:
|
|
67
67
|
-u, --url=<value> [default: https://sentry.io/api/0] Sentry base URL:
|
|
68
68
|
|
|
69
69
|
GLOBAL FLAGS
|
|
@@ -76,7 +76,7 @@ EXAMPLES
|
|
|
76
76
|
$ sentry sentry auth add
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
_See code: [src/commands/sentry/auth/add.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
79
|
+
_See code: [src/commands/sentry/auth/add.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/auth/add.ts)_
|
|
80
80
|
|
|
81
81
|
## `sentry sentry auth test`
|
|
82
82
|
|
|
@@ -96,7 +96,7 @@ EXAMPLES
|
|
|
96
96
|
$ sentry sentry auth test
|
|
97
97
|
```
|
|
98
98
|
|
|
99
|
-
_See code: [src/commands/sentry/auth/test.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
99
|
+
_See code: [src/commands/sentry/auth/test.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/auth/test.ts)_
|
|
100
100
|
|
|
101
101
|
## `sentry sentry auth update`
|
|
102
102
|
|
|
@@ -104,12 +104,12 @@ Update existing authentication
|
|
|
104
104
|
|
|
105
105
|
```
|
|
106
106
|
USAGE
|
|
107
|
-
$ sentry sentry auth update
|
|
107
|
+
$ sentry sentry auth update -o <value> -t <value> -u <value> [--json]
|
|
108
108
|
|
|
109
109
|
FLAGS
|
|
110
|
-
-o, --organization=<value> Sentry organization slug
|
|
111
|
-
-t, --token=<value> Auth Token
|
|
112
|
-
-u, --url=<value> Sentry base URL
|
|
110
|
+
-o, --organization=<value> (required) Sentry organization slug
|
|
111
|
+
-t, --token=<value> (required) Auth Token
|
|
112
|
+
-u, --url=<value> (required) Sentry base URL
|
|
113
113
|
|
|
114
114
|
GLOBAL FLAGS
|
|
115
115
|
--json Format output as json.
|
|
@@ -121,7 +121,7 @@ EXAMPLES
|
|
|
121
121
|
$ sentry sentry auth update
|
|
122
122
|
```
|
|
123
123
|
|
|
124
|
-
_See code: [src/commands/sentry/auth/update.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
124
|
+
_See code: [src/commands/sentry/auth/update.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/auth/update.ts)_
|
|
125
125
|
|
|
126
126
|
## `sentry sentry event get PROJECTSLUG EVENTID`
|
|
127
127
|
|
|
@@ -145,7 +145,7 @@ EXAMPLES
|
|
|
145
145
|
$ sentry sentry event get my-project abc123def456
|
|
146
146
|
```
|
|
147
147
|
|
|
148
|
-
_See code: [src/commands/sentry/event/get.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
148
|
+
_See code: [src/commands/sentry/event/get.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/event/get.ts)_
|
|
149
149
|
|
|
150
150
|
## `sentry sentry event source-maps PROJECTSLUG EVENTID`
|
|
151
151
|
|
|
@@ -171,7 +171,7 @@ EXAMPLES
|
|
|
171
171
|
$ sentry sentry event source-maps my-project abc123def456
|
|
172
172
|
```
|
|
173
173
|
|
|
174
|
-
_See code: [src/commands/sentry/event/source-maps.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
174
|
+
_See code: [src/commands/sentry/event/source-maps.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/event/source-maps.ts)_
|
|
175
175
|
|
|
176
176
|
## `sentry sentry issue event ISSUEID EVENTID`
|
|
177
177
|
|
|
@@ -197,7 +197,7 @@ EXAMPLES
|
|
|
197
197
|
$ sentry sentry issue event 123456789 abc123def456
|
|
198
198
|
```
|
|
199
199
|
|
|
200
|
-
_See code: [src/commands/sentry/issue/event.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
200
|
+
_See code: [src/commands/sentry/issue/event.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/issue/event.ts)_
|
|
201
201
|
|
|
202
202
|
## `sentry sentry issue events ISSUEID`
|
|
203
203
|
|
|
@@ -227,7 +227,7 @@ EXAMPLES
|
|
|
227
227
|
$ sentry sentry issue events 123456789
|
|
228
228
|
```
|
|
229
229
|
|
|
230
|
-
_See code: [src/commands/sentry/issue/events.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
230
|
+
_See code: [src/commands/sentry/issue/events.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/issue/events.ts)_
|
|
231
231
|
|
|
232
232
|
## `sentry sentry issue get ISSUEID`
|
|
233
233
|
|
|
@@ -250,7 +250,7 @@ EXAMPLES
|
|
|
250
250
|
$ sentry sentry issue get 123456789
|
|
251
251
|
```
|
|
252
252
|
|
|
253
|
-
_See code: [src/commands/sentry/issue/get.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
253
|
+
_See code: [src/commands/sentry/issue/get.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/issue/get.ts)_
|
|
254
254
|
|
|
255
255
|
## `sentry sentry issue hashes ISSUEID`
|
|
256
256
|
|
|
@@ -274,7 +274,7 @@ EXAMPLES
|
|
|
274
274
|
$ sentry sentry issue hashes 123456789
|
|
275
275
|
```
|
|
276
276
|
|
|
277
|
-
_See code: [src/commands/sentry/issue/hashes.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
277
|
+
_See code: [src/commands/sentry/issue/hashes.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/issue/hashes.ts)_
|
|
278
278
|
|
|
279
279
|
## `sentry sentry issue tag ISSUEID TAGKEY`
|
|
280
280
|
|
|
@@ -299,7 +299,7 @@ EXAMPLES
|
|
|
299
299
|
$ sentry sentry issue tag 123456789 browser
|
|
300
300
|
```
|
|
301
301
|
|
|
302
|
-
_See code: [src/commands/sentry/issue/tag.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
302
|
+
_See code: [src/commands/sentry/issue/tag.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/issue/tag.ts)_
|
|
303
303
|
|
|
304
304
|
## `sentry sentry issue tag-values ISSUEID TAGKEY`
|
|
305
305
|
|
|
@@ -325,7 +325,7 @@ EXAMPLES
|
|
|
325
325
|
$ sentry sentry issue tag-values 123456789 browser
|
|
326
326
|
```
|
|
327
327
|
|
|
328
|
-
_See code: [src/commands/sentry/issue/tag-values.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
328
|
+
_See code: [src/commands/sentry/issue/tag-values.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/issue/tag-values.ts)_
|
|
329
329
|
|
|
330
330
|
## `sentry sentry issue update ISSUEID`
|
|
331
331
|
|
|
@@ -358,7 +358,7 @@ EXAMPLES
|
|
|
358
358
|
$ sentry sentry issue update 123456789 --assigned-to user@example.com
|
|
359
359
|
```
|
|
360
360
|
|
|
361
|
-
_See code: [src/commands/sentry/issue/update.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
361
|
+
_See code: [src/commands/sentry/issue/update.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/issue/update.ts)_
|
|
362
362
|
|
|
363
363
|
## `sentry sentry org issues`
|
|
364
364
|
|
|
@@ -390,7 +390,7 @@ EXAMPLES
|
|
|
390
390
|
$ sentry sentry org issues --query "is:unresolved" --limit 50
|
|
391
391
|
```
|
|
392
392
|
|
|
393
|
-
_See code: [src/commands/sentry/org/issues.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
393
|
+
_See code: [src/commands/sentry/org/issues.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/org/issues.ts)_
|
|
394
394
|
|
|
395
395
|
## `sentry sentry project events PROJECTSLUG`
|
|
396
396
|
|
|
@@ -419,7 +419,7 @@ EXAMPLES
|
|
|
419
419
|
$ sentry sentry project events my-project
|
|
420
420
|
```
|
|
421
421
|
|
|
422
|
-
_See code: [src/commands/sentry/project/events.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
422
|
+
_See code: [src/commands/sentry/project/events.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/project/events.ts)_
|
|
423
423
|
|
|
424
424
|
## `sentry sentry project issues PROJECTSLUG`
|
|
425
425
|
|
|
@@ -449,5 +449,5 @@ EXAMPLES
|
|
|
449
449
|
$ sentry sentry project issues my-project --query "is:unresolved"
|
|
450
450
|
```
|
|
451
451
|
|
|
452
|
-
_See code: [src/commands/sentry/project/issues.ts](https://github.com/hesedcasa/sentry/blob/v0.1
|
|
452
|
+
_See code: [src/commands/sentry/project/issues.ts](https://github.com/hesedcasa/sentry/blob/v0.2.1/src/commands/sentry/project/issues.ts)_
|
|
453
453
|
<!-- commandsstop -->
|
|
@@ -23,7 +23,7 @@ export default class AuthAdd extends Command {
|
|
|
23
23
|
const { flags } = await this.parse(AuthAdd);
|
|
24
24
|
const authToken = flags.token ?? (await input({ message: 'Auth Token:', required: true }));
|
|
25
25
|
const organization = flags.organization ?? (await input({ message: 'Organization slug:', required: true }));
|
|
26
|
-
const host =
|
|
26
|
+
const host = await input({ default: 'https://sentry.io/api/0', message: 'Sentry base URL:', required: true });
|
|
27
27
|
const configPath = path.join(this.config.configDir, 'sentry-config.json');
|
|
28
28
|
const auth = {
|
|
29
29
|
auth: {
|
|
@@ -16,7 +16,11 @@ export default class IssueUpdate extends Command {
|
|
|
16
16
|
'has-seen': Flags.boolean({ allowNo: true, description: 'Mark issue as seen/unseen', required: false }),
|
|
17
17
|
'is-bookmarked': Flags.boolean({ allowNo: true, description: 'Bookmark or unbookmark issue', required: false }),
|
|
18
18
|
'is-public': Flags.boolean({ allowNo: true, description: 'Make issue public or private', required: false }),
|
|
19
|
-
'is-subscribed': Flags.boolean({
|
|
19
|
+
'is-subscribed': Flags.boolean({
|
|
20
|
+
allowNo: true,
|
|
21
|
+
description: 'Subscribe or unsubscribe from issue',
|
|
22
|
+
required: false,
|
|
23
|
+
}),
|
|
20
24
|
status: Flags.string({
|
|
21
25
|
description: 'Issue status (resolved, resolvedInNextRelease, unresolved, ignored)',
|
|
22
26
|
options: ['resolved', 'resolvedInNextRelease', 'unresolved', 'ignored'],
|
package/oclif.manifest.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"char": "o",
|
|
20
20
|
"description": "Sentry organization slug:",
|
|
21
21
|
"name": "organization",
|
|
22
|
-
"required":
|
|
22
|
+
"required": true,
|
|
23
23
|
"hasDynamicHelp": false,
|
|
24
24
|
"multiple": false,
|
|
25
25
|
"type": "option"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"char": "t",
|
|
29
29
|
"description": "Auth Token:",
|
|
30
30
|
"name": "token",
|
|
31
|
-
"required":
|
|
31
|
+
"required": true,
|
|
32
32
|
"hasDynamicHelp": false,
|
|
33
33
|
"multiple": false,
|
|
34
34
|
"type": "option"
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"char": "o",
|
|
114
114
|
"description": "Sentry organization slug",
|
|
115
115
|
"name": "organization",
|
|
116
|
-
"required":
|
|
116
|
+
"required": true,
|
|
117
117
|
"hasDynamicHelp": false,
|
|
118
118
|
"multiple": false,
|
|
119
119
|
"type": "option"
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"char": "t",
|
|
123
123
|
"description": "Auth Token",
|
|
124
124
|
"name": "token",
|
|
125
|
-
"required":
|
|
125
|
+
"required": true,
|
|
126
126
|
"hasDynamicHelp": false,
|
|
127
127
|
"multiple": false,
|
|
128
128
|
"type": "option"
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"char": "u",
|
|
132
132
|
"description": "Sentry base URL",
|
|
133
133
|
"name": "url",
|
|
134
|
-
"required":
|
|
134
|
+
"required": true,
|
|
135
135
|
"hasDynamicHelp": false,
|
|
136
136
|
"multiple": false,
|
|
137
137
|
"type": "option"
|
|
@@ -154,6 +154,110 @@
|
|
|
154
154
|
"update.js"
|
|
155
155
|
]
|
|
156
156
|
},
|
|
157
|
+
"sentry:event:get": {
|
|
158
|
+
"aliases": [],
|
|
159
|
+
"args": {
|
|
160
|
+
"projectSlug": {
|
|
161
|
+
"description": "Project slug",
|
|
162
|
+
"name": "projectSlug",
|
|
163
|
+
"required": true
|
|
164
|
+
},
|
|
165
|
+
"eventId": {
|
|
166
|
+
"description": "Event ID",
|
|
167
|
+
"name": "eventId",
|
|
168
|
+
"required": true
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"description": "Retrieve a Sentry event for a project",
|
|
172
|
+
"examples": [
|
|
173
|
+
"<%= config.bin %> <%= command.id %> my-project abc123def456"
|
|
174
|
+
],
|
|
175
|
+
"flags": {
|
|
176
|
+
"toon": {
|
|
177
|
+
"description": "Format output as toon",
|
|
178
|
+
"name": "toon",
|
|
179
|
+
"required": false,
|
|
180
|
+
"allowNo": false,
|
|
181
|
+
"type": "boolean"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"hasDynamicHelp": false,
|
|
185
|
+
"hiddenAliases": [],
|
|
186
|
+
"id": "sentry:event:get",
|
|
187
|
+
"pluginAlias": "@hesed/sentry",
|
|
188
|
+
"pluginName": "@hesed/sentry",
|
|
189
|
+
"pluginType": "core",
|
|
190
|
+
"strict": true,
|
|
191
|
+
"enableJsonFlag": false,
|
|
192
|
+
"isESM": true,
|
|
193
|
+
"relativePath": [
|
|
194
|
+
"dist",
|
|
195
|
+
"commands",
|
|
196
|
+
"sentry",
|
|
197
|
+
"event",
|
|
198
|
+
"get.js"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
"sentry:event:source-maps": {
|
|
202
|
+
"aliases": [],
|
|
203
|
+
"args": {
|
|
204
|
+
"projectSlug": {
|
|
205
|
+
"description": "Project slug",
|
|
206
|
+
"name": "projectSlug",
|
|
207
|
+
"required": true
|
|
208
|
+
},
|
|
209
|
+
"eventId": {
|
|
210
|
+
"description": "Event ID",
|
|
211
|
+
"name": "eventId",
|
|
212
|
+
"required": true
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"description": "Debug source maps for a Sentry event",
|
|
216
|
+
"examples": [
|
|
217
|
+
"<%= config.bin %> <%= command.id %> my-project abc123def456"
|
|
218
|
+
],
|
|
219
|
+
"flags": {
|
|
220
|
+
"exception-idx": {
|
|
221
|
+
"description": "Exception index",
|
|
222
|
+
"name": "exception-idx",
|
|
223
|
+
"required": false,
|
|
224
|
+
"hasDynamicHelp": false,
|
|
225
|
+
"multiple": false,
|
|
226
|
+
"type": "option"
|
|
227
|
+
},
|
|
228
|
+
"frame-idx": {
|
|
229
|
+
"description": "Frame index",
|
|
230
|
+
"name": "frame-idx",
|
|
231
|
+
"required": false,
|
|
232
|
+
"hasDynamicHelp": false,
|
|
233
|
+
"multiple": false,
|
|
234
|
+
"type": "option"
|
|
235
|
+
},
|
|
236
|
+
"toon": {
|
|
237
|
+
"description": "Format output as toon",
|
|
238
|
+
"name": "toon",
|
|
239
|
+
"required": false,
|
|
240
|
+
"allowNo": false,
|
|
241
|
+
"type": "boolean"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
"hasDynamicHelp": false,
|
|
245
|
+
"hiddenAliases": [],
|
|
246
|
+
"id": "sentry:event:source-maps",
|
|
247
|
+
"pluginAlias": "@hesed/sentry",
|
|
248
|
+
"pluginName": "@hesed/sentry",
|
|
249
|
+
"pluginType": "core",
|
|
250
|
+
"strict": true,
|
|
251
|
+
"enableJsonFlag": false,
|
|
252
|
+
"isESM": true,
|
|
253
|
+
"relativePath": [
|
|
254
|
+
"dist",
|
|
255
|
+
"commands",
|
|
256
|
+
"sentry",
|
|
257
|
+
"event",
|
|
258
|
+
"source-maps.js"
|
|
259
|
+
]
|
|
260
|
+
},
|
|
157
261
|
"sentry:issue:event": {
|
|
158
262
|
"aliases": [],
|
|
159
263
|
"args": {
|
|
@@ -573,110 +677,6 @@
|
|
|
573
677
|
"update.js"
|
|
574
678
|
]
|
|
575
679
|
},
|
|
576
|
-
"sentry:event:get": {
|
|
577
|
-
"aliases": [],
|
|
578
|
-
"args": {
|
|
579
|
-
"projectSlug": {
|
|
580
|
-
"description": "Project slug",
|
|
581
|
-
"name": "projectSlug",
|
|
582
|
-
"required": true
|
|
583
|
-
},
|
|
584
|
-
"eventId": {
|
|
585
|
-
"description": "Event ID",
|
|
586
|
-
"name": "eventId",
|
|
587
|
-
"required": true
|
|
588
|
-
}
|
|
589
|
-
},
|
|
590
|
-
"description": "Retrieve a Sentry event for a project",
|
|
591
|
-
"examples": [
|
|
592
|
-
"<%= config.bin %> <%= command.id %> my-project abc123def456"
|
|
593
|
-
],
|
|
594
|
-
"flags": {
|
|
595
|
-
"toon": {
|
|
596
|
-
"description": "Format output as toon",
|
|
597
|
-
"name": "toon",
|
|
598
|
-
"required": false,
|
|
599
|
-
"allowNo": false,
|
|
600
|
-
"type": "boolean"
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
"hasDynamicHelp": false,
|
|
604
|
-
"hiddenAliases": [],
|
|
605
|
-
"id": "sentry:event:get",
|
|
606
|
-
"pluginAlias": "@hesed/sentry",
|
|
607
|
-
"pluginName": "@hesed/sentry",
|
|
608
|
-
"pluginType": "core",
|
|
609
|
-
"strict": true,
|
|
610
|
-
"enableJsonFlag": false,
|
|
611
|
-
"isESM": true,
|
|
612
|
-
"relativePath": [
|
|
613
|
-
"dist",
|
|
614
|
-
"commands",
|
|
615
|
-
"sentry",
|
|
616
|
-
"event",
|
|
617
|
-
"get.js"
|
|
618
|
-
]
|
|
619
|
-
},
|
|
620
|
-
"sentry:event:source-maps": {
|
|
621
|
-
"aliases": [],
|
|
622
|
-
"args": {
|
|
623
|
-
"projectSlug": {
|
|
624
|
-
"description": "Project slug",
|
|
625
|
-
"name": "projectSlug",
|
|
626
|
-
"required": true
|
|
627
|
-
},
|
|
628
|
-
"eventId": {
|
|
629
|
-
"description": "Event ID",
|
|
630
|
-
"name": "eventId",
|
|
631
|
-
"required": true
|
|
632
|
-
}
|
|
633
|
-
},
|
|
634
|
-
"description": "Debug source maps for a Sentry event",
|
|
635
|
-
"examples": [
|
|
636
|
-
"<%= config.bin %> <%= command.id %> my-project abc123def456"
|
|
637
|
-
],
|
|
638
|
-
"flags": {
|
|
639
|
-
"exception-idx": {
|
|
640
|
-
"description": "Exception index",
|
|
641
|
-
"name": "exception-idx",
|
|
642
|
-
"required": false,
|
|
643
|
-
"hasDynamicHelp": false,
|
|
644
|
-
"multiple": false,
|
|
645
|
-
"type": "option"
|
|
646
|
-
},
|
|
647
|
-
"frame-idx": {
|
|
648
|
-
"description": "Frame index",
|
|
649
|
-
"name": "frame-idx",
|
|
650
|
-
"required": false,
|
|
651
|
-
"hasDynamicHelp": false,
|
|
652
|
-
"multiple": false,
|
|
653
|
-
"type": "option"
|
|
654
|
-
},
|
|
655
|
-
"toon": {
|
|
656
|
-
"description": "Format output as toon",
|
|
657
|
-
"name": "toon",
|
|
658
|
-
"required": false,
|
|
659
|
-
"allowNo": false,
|
|
660
|
-
"type": "boolean"
|
|
661
|
-
}
|
|
662
|
-
},
|
|
663
|
-
"hasDynamicHelp": false,
|
|
664
|
-
"hiddenAliases": [],
|
|
665
|
-
"id": "sentry:event:source-maps",
|
|
666
|
-
"pluginAlias": "@hesed/sentry",
|
|
667
|
-
"pluginName": "@hesed/sentry",
|
|
668
|
-
"pluginType": "core",
|
|
669
|
-
"strict": true,
|
|
670
|
-
"enableJsonFlag": false,
|
|
671
|
-
"isESM": true,
|
|
672
|
-
"relativePath": [
|
|
673
|
-
"dist",
|
|
674
|
-
"commands",
|
|
675
|
-
"sentry",
|
|
676
|
-
"event",
|
|
677
|
-
"source-maps.js"
|
|
678
|
-
]
|
|
679
|
-
},
|
|
680
680
|
"sentry:org:issues": {
|
|
681
681
|
"aliases": [],
|
|
682
682
|
"args": {},
|
|
@@ -933,5 +933,5 @@
|
|
|
933
933
|
]
|
|
934
934
|
}
|
|
935
935
|
},
|
|
936
|
-
"version": "0.1
|
|
936
|
+
"version": "0.2.1"
|
|
937
937
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hesed/sentry",
|
|
3
3
|
"description": "CLI for Sentry error tracking API interaction",
|
|
4
|
-
"version": "0.1
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"author": "Hesed",
|
|
6
6
|
"bin": {
|
|
7
7
|
"sentry": "./bin/run.js"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"fs-extra": "^11.3.3"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@eslint/compat": "^
|
|
17
|
+
"@eslint/compat": "^2",
|
|
18
18
|
"@oclif/prettier-config": "^0.2.1",
|
|
19
19
|
"@oclif/test": "^4",
|
|
20
20
|
"@types/chai": "^5",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"oclif": "^4",
|
|
33
33
|
"prettier": "^3.8.1",
|
|
34
34
|
"shx": "^0.4.0",
|
|
35
|
+
"sinon": "^21.0.1",
|
|
35
36
|
"ts-node": "^10",
|
|
36
37
|
"ts-prune": "^0.10.3",
|
|
37
38
|
"typescript": "^5"
|
|
@@ -55,9 +56,6 @@
|
|
|
55
56
|
"bin": "sentry",
|
|
56
57
|
"dirname": "sentry",
|
|
57
58
|
"commands": "./dist/commands",
|
|
58
|
-
"plugins": [
|
|
59
|
-
"@oclif/plugin-*"
|
|
60
|
-
],
|
|
61
59
|
"topicSeparator": " ",
|
|
62
60
|
"topics": {},
|
|
63
61
|
"update": {
|