@@ -2,6 +2,7 @@ Usage: sentry-prevent-cli [OPTIONS] COMMAND [ARGS]...
22
33Options:
44 --auto-load-params-from [CircleCI|GithubActions|GitlabCI|Bitbucket|Bitrise|AppVeyor|Woodpecker|Heroku|DroneCI|BuildKite|AzurePipelines|Jenkins|CirrusCI|Teamcity|Travis|AWSCodeBuild|GoogleCloudBuild|Local]
5+ --codecov-yml-path PATH
56 -u, --enterprise-url, --url TEXT
67 Change the upload host (Enterprise use)
78 -v, --verbose Use verbose logging
@@ -20,11 +21,318 @@ Commands:
2021 upload-coverage
2122 upload-process
2223
24+ Usage: sentry-prevent-cli create-commit [OPTIONS]
2325
26+ Options:
27+ --parent-sha TEXT SHA (with 40 chars) of what should be the
28+ parent of this commit
29+ -P, --pr, --pull-request-number TEXT
30+ Specify the pull request number manually.
31+ Used to override pre-existing CI environment
32+ variables
33+ -B, --branch TEXT Branch to which this commit belongs to
34+ -C, --sha, --commit-sha TEXT Commit SHA (with 40 chars) [required]
35+ -Z, --fail-on-error Exit with non-zero code in case of error
36+ --git-service [github|gitlab|bitbucket|github_enterprise|gitlab_enterprise|bitbucket_server]
37+ -t, --token TEXT Codecov upload token
38+ -r, --slug TEXT owner/repo slug used instead of the private
39+ repo token in Self-hosted
40+ -h, --help Show this message and exit.
41+
42+ Usage: sentry-prevent-cli create-report [OPTIONS]
43+
44+ Options:
45+ -P, --pr, --pull-request-number TEXT
46+ Specify the pull request number manually.
47+ Used to override pre-existing CI environment
48+ variables
49+ -C, --sha, --commit-sha TEXT Commit SHA (with 40 chars) [required]
50+ -Z, --fail-on-error Exit with non-zero code in case of error
51+ --git-service [github|gitlab|bitbucket|github_enterprise|gitlab_enterprise|bitbucket_server]
52+ -t, --token TEXT Codecov upload token
53+ -r, --slug TEXT owner/repo slug used instead of the private
54+ repo token in Self-hosted
55+ -h, --help Show this message and exit.
56+
57+ Usage: sentry-prevent-cli do-upload [OPTIONS]
58+
59+ Options:
60+ --network-root-folder PATH Root folder from which to consider paths on
61+ the network section [default: (Current
62+ working directory)]
63+ -s, --dir, --coverage-files-search-root-folder, --files-search-root-folder PATH
64+ Folder where to search for coverage files
65+ [default: (Current Working Directory)]
66+ --exclude, --coverage-files-search-exclude-folder, --files-search-exclude-folder PATH
67+ Folders to exclude from search
68+ -f, --file, --coverage-files-search-direct-file, --files-search-direct-file PATH
69+ Explicit files to upload. These will be
70+ added to the coverage files found for
71+ upload. If you wish to only upload the
72+ specified files, please consider using
73+ --disable-search to disable uploading other
74+ files.
75+ --recurse-submodules Whether to enumerate files inside of
76+ submodules for path-fixing purposes. Off by
77+ default.
78+ --disable-search Disable search for coverage files. This is
79+ helpful when specifying what files you want
80+ to upload with the --file option.
81+ --disable-file-fixes Disable file fixes to ignore common lines
82+ from coverage (e.g. blank lines or empty
83+ brackets)
84+ -b, --build, --build-code TEXT Specify the build number manually
85+ --build-url TEXT The URL of the build where this is running
86+ --job-code TEXT
87+ -n, --name TEXT Custom defined name of the upload. Visible
88+ in Codecov UI
89+ -B, --branch TEXT Branch to which this commit belongs to
90+ -P, --pr, --pull-request-number TEXT
91+ Specify the pull request number manually.
92+ Used to override pre-existing CI environment
93+ variables
94+ -e, --env, --env-var TEXT Specify environment variables to be included
95+ with this build.
96+ -F, --flag TEXT Flag the upload to group coverage metrics.
97+ Multiple flags allowed.
98+ --plugin TEXT
99+ -d, --dry-run Don't upload files to Codecov
100+ --legacy, --use-legacy-uploader
101+ Use the legacy upload endpoint
102+ --handle-no-reports-found Raise no exceptions when no coverage reports
103+ found.
104+ --report-type [coverage|test_results]
105+ The type of the file to upload, coverage by
106+ default. Possible values are: testing,
107+ coverage.
108+ --network-filter TEXT Specify a filter on the files listed in the
109+ network section of the Codecov report. This
110+ will only add files whose path begin with
111+ the specified filter. Useful for upload-
112+ specific path fixing
113+ --network-prefix TEXT Specify a prefix on files listed in the
114+ network section of the Codecov report.
115+ Useful to help resolve path fixing
116+ --gcov-args TEXT Extra arguments to pass to gcov
117+ --gcov-ignore TEXT Paths to ignore during gcov gathering
118+ --gcov-include TEXT Paths to include during gcov gathering
119+ --gcov-executable TEXT gcov executable to run. Defaults to 'gcov'
120+ --swift-project TEXT Specify the swift project
121+ -C, --sha, --commit-sha TEXT Commit SHA (with 40 chars) [required]
122+ -Z, --fail-on-error Exit with non-zero code in case of error
123+ --git-service [github|gitlab|bitbucket|github_enterprise|gitlab_enterprise|bitbucket_server]
124+ -t, --token TEXT Codecov upload token
125+ -r, --slug TEXT owner/repo slug used instead of the private
126+ repo token in Self-hosted
127+ -h, --help Show this message and exit.
128+
129+ Usage: sentry-prevent-cli empty-upload [OPTIONS]
130+
131+ Options:
132+ --force
133+ --parent-sha TEXT SHA (with 40 chars) of what should be the
134+ parent of this commit
135+ -P, --pr, --pull-request-number TEXT
136+ Specify the pull request number manually.
137+ Used to override pre-existing CI environment
138+ variables
139+ -B, --branch TEXT Branch to which this commit belongs to
140+ -C, --sha, --commit-sha TEXT Commit SHA (with 40 chars) [required]
141+ -Z, --fail-on-error Exit with non-zero code in case of error
142+ --git-service [github|gitlab|bitbucket|github_enterprise|gitlab_enterprise|bitbucket_server]
143+ -t, --token TEXT Codecov upload token
144+ -r, --slug TEXT owner/repo slug used instead of the private
145+ repo token in Self-hosted
146+ -h, --help Show this message and exit.
24147
148+ Usage: sentry-prevent-cli pr-base-picking [OPTIONS]
25149
150+ Options:
151+ --base-sha TEXT Base commit SHA (with 40 chars) [required]
152+ --pr TEXT Pull Request id to associate commit with
153+ --slug TEXT owner/repo slug
154+ -t, --token TEXT Codecov upload token
155+ --service TEXT Specify the service provider of the repo e.g. github
156+ -h, --help Show this message and exit.
26157
158+ Usage: sentry-prevent-cli process-test-results [OPTIONS]
27159
160+ Options:
161+ -s, --dir, --files-search-root-folder PATH
162+ Folder where to search for test results
163+ files [default: (Current Working
164+ Directory)]
165+ -f, --file, --files-search-direct-file PATH
166+ Explicit files to upload. These will be
167+ added to the test results files to be
168+ processed. If you wish to only process the
169+ specified files, please consider using
170+ --disable-search to disable processing other
171+ files.
172+ --exclude, --files-search-exclude-folder PATH
173+ Folders to exclude from search
174+ --disable-search Disable search for coverage files. This is
175+ helpful when specifying what files you want
176+ to upload with the --file option.
177+ --github-token TEXT If specified, output the message to the
178+ specified GitHub PR.
179+ -h, --help Show this message and exit.
28180
181+ Usage: sentry-prevent-cli send-notifications [OPTIONS]
182+
183+ Options:
184+ -C, --sha, --commit-sha TEXT Commit SHA (with 40 chars) [required]
185+ -Z, --fail-on-error Exit with non-zero code in case of error
186+ --git-service [github|gitlab|bitbucket|github_enterprise|gitlab_enterprise|bitbucket_server]
187+ -t, --token TEXT Codecov upload token
188+ -r, --slug TEXT owner/repo slug used instead of the private
189+ repo token in Self-hosted
190+ -h, --help Show this message and exit.
29191
192+ Usage: sentry-prevent-cli upload-coverage [OPTIONS]
30193
194+ Options:
195+ -C, --sha, --commit-sha TEXT Commit SHA (with 40 chars) [required]
196+ -Z, --fail-on-error Exit with non-zero code in case of error
197+ --git-service [github|gitlab|bitbucket|github_enterprise|gitlab_enterprise|bitbucket_server]
198+ -t, --token TEXT Codecov upload token
199+ -r, --slug TEXT owner/repo slug used instead of the private
200+ repo token in Self-hosted
201+ --network-root-folder PATH Root folder from which to consider paths on
202+ the network section [default: (Current
203+ working directory)]
204+ -s, --dir, --coverage-files-search-root-folder, --files-search-root-folder PATH
205+ Folder where to search for coverage files
206+ [default: (Current Working Directory)]
207+ --exclude, --coverage-files-search-exclude-folder, --files-search-exclude-folder PATH
208+ Folders to exclude from search
209+ -f, --file, --coverage-files-search-direct-file, --files-search-direct-file PATH
210+ Explicit files to upload. These will be
211+ added to the coverage files found for
212+ upload. If you wish to only upload the
213+ specified files, please consider using
214+ --disable-search to disable uploading other
215+ files.
216+ --recurse-submodules Whether to enumerate files inside of
217+ submodules for path-fixing purposes. Off by
218+ default.
219+ --disable-search Disable search for coverage files. This is
220+ helpful when specifying what files you want
221+ to upload with the --file option.
222+ --disable-file-fixes Disable file fixes to ignore common lines
223+ from coverage (e.g. blank lines or empty
224+ brackets)
225+ -b, --build, --build-code TEXT Specify the build number manually
226+ --build-url TEXT The URL of the build where this is running
227+ --job-code TEXT
228+ -n, --name TEXT Custom defined name of the upload. Visible
229+ in Codecov UI
230+ -B, --branch TEXT Branch to which this commit belongs to
231+ -P, --pr, --pull-request-number TEXT
232+ Specify the pull request number manually.
233+ Used to override pre-existing CI environment
234+ variables
235+ -e, --env, --env-var TEXT Specify environment variables to be included
236+ with this build.
237+ -F, --flag TEXT Flag the upload to group coverage metrics.
238+ Multiple flags allowed.
239+ --plugin TEXT
240+ -d, --dry-run Don't upload files to Codecov
241+ --legacy, --use-legacy-uploader
242+ Use the legacy upload endpoint
243+ --handle-no-reports-found Raise no exceptions when no coverage reports
244+ found.
245+ --report-type [coverage|test_results]
246+ The type of the file to upload, coverage by
247+ default. Possible values are: testing,
248+ coverage.
249+ --network-filter TEXT Specify a filter on the files listed in the
250+ network section of the Codecov report. This
251+ will only add files whose path begin with
252+ the specified filter. Useful for upload-
253+ specific path fixing
254+ --network-prefix TEXT Specify a prefix on files listed in the
255+ network section of the Codecov report.
256+ Useful to help resolve path fixing
257+ --gcov-args TEXT Extra arguments to pass to gcov
258+ --gcov-ignore TEXT Paths to ignore during gcov gathering
259+ --gcov-include TEXT Paths to include during gcov gathering
260+ --gcov-executable TEXT gcov executable to run. Defaults to 'gcov'
261+ --swift-project TEXT Specify the swift project
262+ --parent-sha TEXT SHA (with 40 chars) of what should be the
263+ parent of this commit
264+ -h, --help Show this message and exit.
265+
266+ Usage: sentry-prevent-cli upload-process [OPTIONS]
267+
268+ Options:
269+ -C, --sha, --commit-sha TEXT Commit SHA (with 40 chars) [required]
270+ -Z, --fail-on-error Exit with non-zero code in case of error
271+ --git-service [github|gitlab|bitbucket|github_enterprise|gitlab_enterprise|bitbucket_server]
272+ -t, --token TEXT Codecov upload token
273+ -r, --slug TEXT owner/repo slug used instead of the private
274+ repo token in Self-hosted
275+ --network-root-folder PATH Root folder from which to consider paths on
276+ the network section [default: (Current
277+ working directory)]
278+ -s, --dir, --coverage-files-search-root-folder, --files-search-root-folder PATH
279+ Folder where to search for coverage files
280+ [default: (Current Working Directory)]
281+ --exclude, --coverage-files-search-exclude-folder, --files-search-exclude-folder PATH
282+ Folders to exclude from search
283+ -f, --file, --coverage-files-search-direct-file, --files-search-direct-file PATH
284+ Explicit files to upload. These will be
285+ added to the coverage files found for
286+ upload. If you wish to only upload the
287+ specified files, please consider using
288+ --disable-search to disable uploading other
289+ files.
290+ --recurse-submodules Whether to enumerate files inside of
291+ submodules for path-fixing purposes. Off by
292+ default.
293+ --disable-search Disable search for coverage files. This is
294+ helpful when specifying what files you want
295+ to upload with the --file option.
296+ --disable-file-fixes Disable file fixes to ignore common lines
297+ from coverage (e.g. blank lines or empty
298+ brackets)
299+ -b, --build, --build-code TEXT Specify the build number manually
300+ --build-url TEXT The URL of the build where this is running
301+ --job-code TEXT
302+ -n, --name TEXT Custom defined name of the upload. Visible
303+ in Codecov UI
304+ -B, --branch TEXT Branch to which this commit belongs to
305+ -P, --pr, --pull-request-number TEXT
306+ Specify the pull request number manually.
307+ Used to override pre-existing CI environment
308+ variables
309+ -e, --env, --env-var TEXT Specify environment variables to be included
310+ with this build.
311+ -F, --flag TEXT Flag the upload to group coverage metrics.
312+ Multiple flags allowed.
313+ --plugin TEXT
314+ -d, --dry-run Don't upload files to Codecov
315+ --legacy, --use-legacy-uploader
316+ Use the legacy upload endpoint
317+ --handle-no-reports-found Raise no exceptions when no coverage reports
318+ found.
319+ --report-type [coverage|test_results]
320+ The type of the file to upload, coverage by
321+ default. Possible values are: testing,
322+ coverage.
323+ --network-filter TEXT Specify a filter on the files listed in the
324+ network section of the Codecov report. This
325+ will only add files whose path begin with
326+ the specified filter. Useful for upload-
327+ specific path fixing
328+ --network-prefix TEXT Specify a prefix on files listed in the
329+ network section of the Codecov report.
330+ Useful to help resolve path fixing
331+ --gcov-args TEXT Extra arguments to pass to gcov
332+ --gcov-ignore TEXT Paths to ignore during gcov gathering
333+ --gcov-include TEXT Paths to include during gcov gathering
334+ --gcov-executable TEXT gcov executable to run. Defaults to 'gcov'
335+ --swift-project TEXT Specify the swift project
336+ --parent-sha TEXT SHA (with 40 chars) of what should be the
337+ parent of this commit
338+ -h, --help Show this message and exit.
0 commit comments