cloudsmith-cli 1.13.0__tar.gz → 1.15.0__tar.gz
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.
- {cloudsmith_cli-1.13.0/cloudsmith_cli.egg-info → cloudsmith_cli-1.15.0}/PKG-INFO +53 -1
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/README.md +51 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/__init__.py +1 -0
- cloudsmith_cli-1.15.0/cloudsmith_cli/cli/commands/download.py +620 -0
- cloudsmith_cli-1.15.0/cloudsmith_cli/cli/commands/vulnerabilities.py +141 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_download.py +222 -3
- cloudsmith_cli-1.15.0/cloudsmith_cli/cli/tests/commands/test_vulnerabilities.py +112 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/utils.py +24 -0
- cloudsmith_cli-1.15.0/cloudsmith_cli/core/api/vulnerabilities.py +230 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/download.py +177 -37
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/tests/test_download.py +285 -3
- cloudsmith_cli-1.15.0/cloudsmith_cli/data/VERSION +1 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0/cloudsmith_cli.egg-info}/PKG-INFO +53 -1
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli.egg-info/SOURCES.txt +3 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli.egg-info/requires.txt +1 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/setup.py +1 -0
- cloudsmith_cli-1.13.0/cloudsmith_cli/cli/commands/download.py +0 -448
- cloudsmith_cli-1.13.0/cloudsmith_cli/data/VERSION +0 -1
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/LICENSE +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/MANIFEST.in +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/__main__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/command.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/auth.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/check.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/copy.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/delete.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/dependencies.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/docs.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/entitlements.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/help_.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/list_.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/login.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/logout.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/main.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/mcp.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/metrics/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/metrics/command.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/metrics/entitlements.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/metrics/packages.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/move.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/policy/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/policy/command.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/policy/deny.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/policy/license.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/policy/vulnerability.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/push.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/quarantine.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/quota/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/quota/command.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/quota/history.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/quota/quota.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/repos.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/resync.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/status.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/tags.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/tokens.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/upstream.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/commands/whoami.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/config.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/decorators.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/exceptions.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/saml.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/table.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/conftest.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/policy/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/policy/test_deny.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/policy/test_licence.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/policy/test_vulnerability.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_auth.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_check.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_entitlements.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_login.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_logout.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_main.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_mcp.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_package_commands.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_repos.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_tokens.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/commands/test_upstream.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/conftest.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/test_push.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/test_saml.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/test_utils.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/test_webserver.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/tests/utils.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/types.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/validators.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/cli/webserver.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/distros.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/entitlements.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/exceptions.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/files.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/init.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/metrics.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/orgs.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/packages.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/quota.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/rates.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/repos.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/status.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/upstreams.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/user.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/api/version.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/config.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/keyring.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/mcp/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/mcp/data.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/mcp/server.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/pagination.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/ratelimits.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/rest.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/tests/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/tests/test_init.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/tests/test_keyring.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/tests/test_rest.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/tests/test_version.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/utils.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/core/version.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/data/config.ini +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/data/credentials.ini +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/templates/__init__.py +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/templates/auth_error.html +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli/templates/auth_success.html +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli.egg-info/dependency_links.txt +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli.egg-info/entry_points.txt +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli.egg-info/not-zip-safe +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/cloudsmith_cli.egg-info/top_level.txt +0 -0
- {cloudsmith_cli-1.13.0 → cloudsmith_cli-1.15.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cloudsmith-cli
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.15.0
|
|
4
4
|
Summary: Cloudsmith Command-Line Interface (CLI)
|
|
5
5
|
Home-page: https://github.com/cloudsmith-io/cloudsmith-cli
|
|
6
6
|
Author: Cloudsmith Ltd
|
|
@@ -37,6 +37,7 @@ Requires-Dist: mcp==1.9.1
|
|
|
37
37
|
Requires-Dist: python-toon==0.1.2
|
|
38
38
|
Requires-Dist: requests>=2.18.4
|
|
39
39
|
Requires-Dist: requests_toolbelt>=1.0.0
|
|
40
|
+
Requires-Dist: rich>=13.0.0
|
|
40
41
|
Requires-Dist: semver>=2.7.9
|
|
41
42
|
Requires-Dist: urllib3>=2.5
|
|
42
43
|
Dynamic: author
|
|
@@ -87,6 +88,7 @@ The CLI currently supports the following commands (and sub-commands):
|
|
|
87
88
|
- `delete`|`rm`: Delete a package from a repository.
|
|
88
89
|
- `dependencies`|`deps`: List direct (non-transitive) dependencies for a package.
|
|
89
90
|
- `docs`: Launch the help website in your browser.
|
|
91
|
+
- `download`: Download a package from a repository.
|
|
90
92
|
- `entitlements`|`ents`: Manage the entitlements for a repository.
|
|
91
93
|
- `create`|`new`: Create a new entitlement in a repository.
|
|
92
94
|
- `delete`|`rm`: Delete an entitlement from a repository.
|
|
@@ -168,6 +170,7 @@ The CLI currently supports the following commands (and sub-commands):
|
|
|
168
170
|
- `rpm`: Manage rpm upstreams for a repository.
|
|
169
171
|
- `ruby`: Manage ruby upstreams for a repository.
|
|
170
172
|
- `swift`: Manage swift upstreams for a repository.
|
|
173
|
+
- `vulnerabilities`: Retrieve vulnerability results for a package.
|
|
171
174
|
- `whoami`: Retrieve your current authentication status.
|
|
172
175
|
|
|
173
176
|
## Installation
|
|
@@ -305,6 +308,55 @@ cloudsmith push rpm --help
|
|
|
305
308
|
```
|
|
306
309
|
|
|
307
310
|
|
|
311
|
+
## Downloading Packages
|
|
312
|
+
|
|
313
|
+
You can download packages from repositories using the `cloudsmith download` command. The CLI supports various filtering options to help you find and download the exact package you need.
|
|
314
|
+
|
|
315
|
+
For example, to download a specific package:
|
|
316
|
+
|
|
317
|
+
```
|
|
318
|
+
cloudsmith download your-account/your-repo package-name
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
You can filter by various attributes like version, format, architecture, operating system, and tags:
|
|
322
|
+
|
|
323
|
+
```
|
|
324
|
+
# Download a specific version
|
|
325
|
+
cloudsmith download your-account/your-repo package-name --version 1.2.3
|
|
326
|
+
|
|
327
|
+
# Filter by format and architecture
|
|
328
|
+
cloudsmith download your-account/your-repo package-name --format deb --arch amd64
|
|
329
|
+
|
|
330
|
+
# Filter by package tag (e.g., latest, stable, beta)
|
|
331
|
+
cloudsmith download your-account/your-repo package-name --tag latest
|
|
332
|
+
|
|
333
|
+
# Combine tag with metadata filters
|
|
334
|
+
cloudsmith download your-account/your-repo package-name --tag stable --format deb --arch arm64
|
|
335
|
+
|
|
336
|
+
# Filter by filename (exact or glob pattern)
|
|
337
|
+
cloudsmith download your-account/your-repo package-name --filename '*.nupkg'
|
|
338
|
+
cloudsmith download your-account/your-repo package-name --filename 'mypackage-1.0.0.snupkg'
|
|
339
|
+
|
|
340
|
+
# Download all matching packages (when multiple packages share the same name/version)
|
|
341
|
+
cloudsmith download your-account/your-repo package-name --download-all
|
|
342
|
+
|
|
343
|
+
# Combine --download-all with --filename to download a subset
|
|
344
|
+
cloudsmith download your-account/your-repo package-name --download-all --filename '*.snupkg'
|
|
345
|
+
|
|
346
|
+
# Download all associated files (POM, sources, javadoc, etc.)
|
|
347
|
+
cloudsmith download your-account/your-repo package-name --all-files
|
|
348
|
+
|
|
349
|
+
# Preview what would be downloaded without actually downloading
|
|
350
|
+
cloudsmith download your-account/your-repo package-name --dry-run
|
|
351
|
+
```
|
|
352
|
+
|
|
353
|
+
For more advanced usage and all available options:
|
|
354
|
+
|
|
355
|
+
```
|
|
356
|
+
cloudsmith download --help
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
|
|
308
360
|
## Contributing
|
|
309
361
|
|
|
310
362
|
Yes! Please do contribute, this is why we love open source. Please see [CONTRIBUTING](https://github.com/cloudsmith-io/cloudsmith-cli/blob/master/CONTRIBUTING.md) for contribution guidelines when making code changes or raising issues for bug reports, ideas, discussions and/or questions (i.e. help required).
|
|
@@ -32,6 +32,7 @@ The CLI currently supports the following commands (and sub-commands):
|
|
|
32
32
|
- `delete`|`rm`: Delete a package from a repository.
|
|
33
33
|
- `dependencies`|`deps`: List direct (non-transitive) dependencies for a package.
|
|
34
34
|
- `docs`: Launch the help website in your browser.
|
|
35
|
+
- `download`: Download a package from a repository.
|
|
35
36
|
- `entitlements`|`ents`: Manage the entitlements for a repository.
|
|
36
37
|
- `create`|`new`: Create a new entitlement in a repository.
|
|
37
38
|
- `delete`|`rm`: Delete an entitlement from a repository.
|
|
@@ -113,6 +114,7 @@ The CLI currently supports the following commands (and sub-commands):
|
|
|
113
114
|
- `rpm`: Manage rpm upstreams for a repository.
|
|
114
115
|
- `ruby`: Manage ruby upstreams for a repository.
|
|
115
116
|
- `swift`: Manage swift upstreams for a repository.
|
|
117
|
+
- `vulnerabilities`: Retrieve vulnerability results for a package.
|
|
116
118
|
- `whoami`: Retrieve your current authentication status.
|
|
117
119
|
|
|
118
120
|
## Installation
|
|
@@ -250,6 +252,55 @@ cloudsmith push rpm --help
|
|
|
250
252
|
```
|
|
251
253
|
|
|
252
254
|
|
|
255
|
+
## Downloading Packages
|
|
256
|
+
|
|
257
|
+
You can download packages from repositories using the `cloudsmith download` command. The CLI supports various filtering options to help you find and download the exact package you need.
|
|
258
|
+
|
|
259
|
+
For example, to download a specific package:
|
|
260
|
+
|
|
261
|
+
```
|
|
262
|
+
cloudsmith download your-account/your-repo package-name
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
You can filter by various attributes like version, format, architecture, operating system, and tags:
|
|
266
|
+
|
|
267
|
+
```
|
|
268
|
+
# Download a specific version
|
|
269
|
+
cloudsmith download your-account/your-repo package-name --version 1.2.3
|
|
270
|
+
|
|
271
|
+
# Filter by format and architecture
|
|
272
|
+
cloudsmith download your-account/your-repo package-name --format deb --arch amd64
|
|
273
|
+
|
|
274
|
+
# Filter by package tag (e.g., latest, stable, beta)
|
|
275
|
+
cloudsmith download your-account/your-repo package-name --tag latest
|
|
276
|
+
|
|
277
|
+
# Combine tag with metadata filters
|
|
278
|
+
cloudsmith download your-account/your-repo package-name --tag stable --format deb --arch arm64
|
|
279
|
+
|
|
280
|
+
# Filter by filename (exact or glob pattern)
|
|
281
|
+
cloudsmith download your-account/your-repo package-name --filename '*.nupkg'
|
|
282
|
+
cloudsmith download your-account/your-repo package-name --filename 'mypackage-1.0.0.snupkg'
|
|
283
|
+
|
|
284
|
+
# Download all matching packages (when multiple packages share the same name/version)
|
|
285
|
+
cloudsmith download your-account/your-repo package-name --download-all
|
|
286
|
+
|
|
287
|
+
# Combine --download-all with --filename to download a subset
|
|
288
|
+
cloudsmith download your-account/your-repo package-name --download-all --filename '*.snupkg'
|
|
289
|
+
|
|
290
|
+
# Download all associated files (POM, sources, javadoc, etc.)
|
|
291
|
+
cloudsmith download your-account/your-repo package-name --all-files
|
|
292
|
+
|
|
293
|
+
# Preview what would be downloaded without actually downloading
|
|
294
|
+
cloudsmith download your-account/your-repo package-name --dry-run
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
For more advanced usage and all available options:
|
|
298
|
+
|
|
299
|
+
```
|
|
300
|
+
cloudsmith download --help
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
|
|
253
304
|
## Contributing
|
|
254
305
|
|
|
255
306
|
Yes! Please do contribute, this is why we love open source. Please see [CONTRIBUTING](https://github.com/cloudsmith-io/cloudsmith-cli/blob/master/CONTRIBUTING.md) for contribution guidelines when making code changes or raising issues for bug reports, ideas, discussions and/or questions (i.e. help required).
|