Need your own package repository for
Alpine, Cargo, Composer, CRAN, Debian, Docker, Go, Helm, LuaRocks, Maven, npm, NuGet, Python, RedHat, Ruby, Vagrant, Raw & More?
Cloudsmith provides better DevOps with simple and secure delivery of your software, from dev to production.

Start My Free 7-Day Trial
Set Me Up
 Open-Source cloudsmith cloudsmith (Cloudsmith) / cli  GitHub Project
Official repository for the Cloudsmith CLI application.
These tend to be pre-releases, for stable releases download from PyPi: https://pypi.python.org/pypi/cloudsmith-cli
Note: Packages in this repository are licensed as Apache License 2.0 (dependencies may be licensed differently).
bdist/wheel whl noarch py2/py3

cloudsmith-cli  0.8.2

uploaded 5 months, 2 weeks ago

Format

Python logo Python (python)

Status

 Sync Completed

License

Apache License 2.0

Size

61.9 KB

Downloads

42

Uploader

lskillen Lee Skillen

One-liner (summary)

Cloudsmith Command-Line Interface (CLI)

Description

Cloudsmith Command Line Interface (CLI)

|Latest Version @ Cloudsmith| |Python Versions| |PyPI Version| |CircleCI| |Codacy Badge| |Maintainability| |Test Coverage| |Code style: black|

The Cloudsmith Command Line Interface (CLI) is a Py2/Py3 text-based interface to the API. This allows users, machines and other services to access and integrate smoothly with Cloudsmith without requiring explicit plugins or tools. Be awesome. Automate Everything.

The following (very out of date) GIF demonstrates a small slice of the CLI - View the full video on YouTube:

|CLI Demonstration|

You can also read our blog article that introduced the first version of the CLI and the Cloudsmith RESTful API.

Changelog

Please see the changelog for the list of changes by version. The current version is displayed in the PyPi badge at the top.

Features

The CLI currently supports the following commands (and sub-commands):

  • check: Check rate limits and service status.
  • copy|cp: Copy a package to another repository.
  • delete|rm: Delete a package from a repository.
  • docs: Launch the help website in your browser.
  • entitlements|ents: Manage the entitlements for a repository.
  • create|new: Create a new entitlement in a repository.
  • delete|rm: Delete an entitlement from a repository.
  • list|ls: List entitlements for a repository.
  • refresh: Refresh an entitlement in a repository.
  • sync: Sync entitlements from another repository.
  • update|set: Update (patch) a entitlement in a repository.
  • help: Display the delightful help message and exit.
  • list|ls: List distros, packages, repos and entitlements.
  • distros: List available distributions.
  • entitlements: List entitlements for a repository.
  • packages: List packages for a repository.
  • repos: List repositories for a namespace (owner).
  • move|mv: Move (promote) a package to another repo.
  • push|upload: Push (upload) a new package to a repository.
  • alpine: Push (upload) a new Alpine package upstream.
  • composer: Push (upload) a new Composer package upstream.
  • deb: Push (upload) a new Deb package upstream.
  • helm: Push (upload) a new Helm package upstream.
  • maven: Push (upload) a new Maven package upstream.
  • npm: Push (upload) a new Npm package upstream.
  • python: Push (upload) a new Python package upstream.
  • raw: Push (upload) a new Raw package upstream.
  • rpm: Push (upload) a new Rpm package upstream.
  • ruby: Push (upload) a new Ruby package upstream.
  • vagrant: Push (upload) a new Vagrant package upstream.
  • resync: Resynchronise a package in a repository.
  • status: Get the synchronisation status for a package.
  • token: Retrieve your API authentication token/key.
  • whoami: Retrieve your current authentication status.

Installation

You can install the latest CLI application from:

The simplest way is to use pip, such as:

pip install --upgrade cloudsmith-cli

Or you can get the latest pre-release version from Cloudsmith:

pip install --upgrade cloudsmith-cli --extra-index-url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/index/

Configuration

There are two configuration files used by the CLI:

  • config.ini: For non-credentials configuration.
  • credentials.ini: For credentials (authentication) configuration.

By default, the CLI will lo

Unique Id FVCWQfbD0Cvo
Sequential Id 37
Package cloudsmith-cli
Version 0.8.2
Type  Binary (contains binaries and binary artifacts)
License Apache License 2.0
MD5 f8de2c505ea06691ed76e251cfe2d700
SHA-1 979c9502d6a996c293214150a612e03510659978
SHA-256 40ea7909a1d2c10ad097aaa0f1d9b36bfe622a9ccc6349373e26ea7ec2843150
SHA-512 75f488afeb8bac65b6aad8bd9096b8bfcd9624ef24b2ece78d04116f2253044b...
Author Cloudsmith Ltd <support@cloudsmith.io>
Classifiers Development Status :: 5 - Production/Stable | Environment :: Console | Intended Audience :: Developers | Intended Audience :: System Administrators | License :: OSI Approved :: Apache Software License | Operating System :: POSIX :: Linux | Programming Language :: Python | Programming Language :: Python :: 2 | Programming Language :: Python :: 3 | Topic :: Internet | Topic :: System :: Systems Administration | Topic :: Utilities
Homepage URL https://github.com/cloudsmith-io/cloudsmith-cli
Keywords cloudsmith,cli,devops
Metadata Version 2.1
Platforms any
Py Filetype bdist_wheel
Py Version py2.py3
pkg cloudsmith_cli-0.8.2-py2.py3-... 42
61.9 KB
md5 sha1 sha256 sha512
Package Contents (cloudsmith_cli-0.8.2-py2.py3-none-any.whl)
Loading...

This package has 64 files/directories.

 Newer Python logo
cloudsmith-cli 0.15.0
bdist/wheel whl noarch py2/py3 latest 62.4 KB 1 week, 6 days ago
6 lskillen
 Newer Python logo
cloudsmith-cli 0.14.0
bdist/wheel whl noarch py2/py3 62.4 KB 2 weeks, 4 days ago
6 lskillen
 Newer Python logo
cloudsmith-cli 0.12.0
bdist/wheel whl noarch py2/py3 62.1 KB 1 month ago
13 paddycarey
 Newer Python logo
cloudsmith-cli 0.12.0
5 paddycarey
 Newer Python logo
cloudsmith-cli 0.11.0
sdist gz noarch 42.6 KB 1 month ago
4 paddycarey
 Newer Python logo
cloudsmith-cli 0.11.0
bdist/wheel whl noarch py2/py3 62.0 KB 1 month ago
12 paddycarey
 Newer Python logo
cloudsmith-cli 0.10.0
bdist/wheel whl noarch py2/py3 62.0 KB 4 months, 3 weeks ago
35 paddycarey
 Newer Python logo
cloudsmith-cli 0.9.0
bdist/wheel whl noarch py2/py3 61.9 KB 5 months ago
40 lskillen
 Same Python logo
cloudsmith-cli 0.8.2
bdist/wheel whl noarch py2/py3 61.9 KB 5 months, 2 weeks ago
42 lskillen
 Older Python logo
cloudsmith-cli 0.8.1
bdist/wheel whl noarch py2/py3 61.9 KB 5 months, 2 weeks ago
38 lskillen
 Older Python logo
cloudsmith-cli 0.8.0
bdist/wheel whl noarch py2/py3 61.9 KB 5 months, 2 weeks ago
41 lskillen
 Older Python logo
cloudsmith-cli 0.7.2
bdist/wheel whl noarch py2/py3 62.6 KB 6 months, 4 weeks ago
56 lskillen
 Older Python logo
cloudsmith-cli 0.7.1
bdist/wheel whl noarch py2/py3 62.5 KB 7 months ago
55 lskillen
 Older Python logo
cloudsmith-cli 0.7.0
bdist/wheel whl noarch py2/py3 59.3 KB 11 months, 1 week ago
81 lskillen
 Older Python logo
cloudsmith-cli 0.6.3
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 1 month ago
88 lskillen
 Older Python logo
cloudsmith-cli 0.6.2
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 1 month ago
83 lskillen
 Older Python logo
cloudsmith-cli 0.6.1
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 1 month ago
90 lskillen
 Older Python logo
cloudsmith-cli 0.6.0
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 1 month ago
88 lskillen
 Older Python logo
cloudsmith-cli 0.5.7
bdist/wheel whl noarch py2/py3 59.3 KB 1 year, 4 months ago
105 lskillen
 Older Python logo
cloudsmith-cli 0.5.6
bdist/wheel whl noarch py2/py3 59.2 KB 1 year, 5 months ago
114 lskillen
 Older Python logo
cloudsmith-cli 0.5.5
bdist/wheel whl noarch py2/py3 59.2 KB 1 year, 5 months ago
119 lskillen
 Older Python logo
cloudsmith-cli 0.5.4
bdist/wheel whl noarch py2/py3 59.2 KB 1 year, 5 months ago
115 lskillen
 Older Python logo
cloudsmith-cli 0.5.3
bdist/wheel whl noarch py2/py3 59.2 KB 1 year, 5 months ago
121 lskillen
 Older Python logo
cloudsmith-cli 0.5.2
bdist/wheel whl noarch py2/py3 59.1 KB 1 year, 5 months ago
108 lskillen
 Older Python logo
cloudsmith-cli 0.5.1
bdist/wheel whl noarch py2/py3 59.1 KB 1 year, 5 months ago
108 lskillen
Loading...

You can embed a badge in another website that shows this or the latest version of this package.

To embed the badge for this specific package version, use the following:

[![This Version @ Cloudsmith](https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.8.2/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABdgL3ZhBLHcEjuqfPNrYAlXu1ss-MaCjrMMaMLQ1N98IQzDHehqT7xJE7sXnDVRzY9tuqIxHcdJW_Pd_MP9loO8Tz8bWssCqNPVBvRfIOz_XLHNjE%3D)](https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.8.2/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/)
|This Version @ Cloudsmith|
.. |This Version @ Cloudsmith| image:: https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.8.2/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABdgL3ZhBLHcEjuqfPNrYAlXu1ss-MaCjrMMaMLQ1N98IQzDHehqT7xJE7sXnDVRzY9tuqIxHcdJW_Pd_MP9loO8Tz8bWssCqNPVBvRfIOz_XLHNjE%3D
   :target: https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.8.2/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/
image::https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.8.2/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABdgL3ZhBLHcEjuqfPNrYAlXu1ss-MaCjrMMaMLQ1N98IQzDHehqT7xJE7sXnDVRzY9tuqIxHcdJW_Pd_MP9loO8Tz8bWssCqNPVBvRfIOz_XLHNjE%3D[link="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.8.2/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/",title="This Version @ Cloudsmith"]
<a href="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/0.8.2/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/"><img src="https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/0.8.2/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABdgL3ZhBLHcEjuqfPNrYAlXu1ss-MaCjrMMaMLQ1N98IQzDHehqT7xJE7sXnDVRzY9tuqIxHcdJW_Pd_MP9loO8Tz8bWssCqNPVBvRfIOz_XLHNjE%3D" alt="This Version @ Cloudsmith" /></a>

rendered as: This Version @ Cloudsmith

To embed the badge for the latest package version, use the following:

[![Latest Version @ Cloudsmith](https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABdgL3Zc7lPvNK-xZq3ySjyKLvOo9jPeylz2pjDr1tGiLb0FPRkA2sNwfRaSCcWU_EN3rj0U5irdTnRYVj6qYIxkzpziHtdIC25oTmMYgWZCM_Kojw%3D)](https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/)
|Latest Version @ Cloudsmith|
.. |Latest Version @ Cloudsmith| image:: https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABdgL3Zc7lPvNK-xZq3ySjyKLvOo9jPeylz2pjDr1tGiLb0FPRkA2sNwfRaSCcWU_EN3rj0U5irdTnRYVj6qYIxkzpziHtdIC25oTmMYgWZCM_Kojw%3D
   :target: https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/
image::https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABdgL3Zc7lPvNK-xZq3ySjyKLvOo9jPeylz2pjDr1tGiLb0FPRkA2sNwfRaSCcWU_EN3rj0U5irdTnRYVj6qYIxkzpziHtdIC25oTmMYgWZCM_Kojw%3D[link="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/",title="Latest Version @ Cloudsmith"]
<a href="https://cloudsmith.io/~cloudsmith/repos/cli/packages/detail/python/cloudsmith-cli/latest/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/"><img src="https://api-prd.cloudsmith.io/badges/version/cloudsmith/cli/python/cloudsmith-cli/latest/xf=bdist_wheel;xn=cloudsmith-cli;xv=py2.py3/?render=true&badge_token=gAAAAABdgL3Zc7lPvNK-xZq3ySjyKLvOo9jPeylz2pjDr1tGiLb0FPRkA2sNwfRaSCcWU_EN3rj0U5irdTnRYVj6qYIxkzpziHtdIC25oTmMYgWZCM_Kojw%3D" alt="Latest Version @ Cloudsmith" /></a>

rendered as: Latest Version @ Cloudsmith

These instructions assume you have setup the repository first (or read it).

To install/use cloudsmith-cli @ version 0.8.2 ...

pip install 'cloudsmith-cli==0.8.2'

You can also install the latest version of this package:

pip install --upgrade 'cloudsmith-cli'

If necessary, you can specify the repository directly:

pip install \
  --extra-index-url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/simple/ \
  cloudsmith-cli==0.8.2

If you've got a project requirements.txt file, you can specify this as a dependency:

--extra-index-url=https://dl.cloudsmith.io/public/cloudsmith/cli/python/simple/
cloudsmith-cli==0.8.2
Warning: We highly recommend using pip (or similar) rather than installing directly.
Top