Skip to main content

Command line interface to talk to pulpcore's REST API.

Project description

Pulp command line interface

This is a command line interface for Pulp 3.

This software is in beta and future releases may include backwards incompatible changes.

General command syntax

pulp [<global_options>] <plugin> <resource_class> [--type <resource_type>] <action> [<action_options>]

Global options include:

  • --base-url
  • --user
  • --password
  • --config
  • --format
  • -v/-vv/-vvv

Quick start

To install and use the CLI, run these commands:

pip install pulp-cli[pygments]
pulp config create -e

Read the installation and configuration doc for more information.

Known issues

  • Redirecting from http to https, as done by a typical Pulp installation, does not work properly with POST and PUT requests. Please use https:// in the base url. Note that the attempt to use http leaks sensitive data over an unencrypted connection.

Example commands

pulp status

pulp file repository list

pulp file repository create --name file_repo1

pulp file repository update --name file_repo1 --description "Contains plain files"

pulp file repository destroy --name file_repo1

To learn about the structure of a command, you can use the --help option with any (in-)complete command.

Shell Completion

The CLI uses the click package which supports shell completion. To configure this, check out click's documentation. As an example, here is what to add to your ~/.bashrc file if you're using bash:

eval "$(_PULP_COMPLETE=source_bash pulp)"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulp-cli-0.7.0.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

pulp_cli-0.7.0-py3-none-any.whl (69.3 kB view details)

Uploaded Python 3

File details

Details for the file pulp-cli-0.7.0.tar.gz.

File metadata

  • Download URL: pulp-cli-0.7.0.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for pulp-cli-0.7.0.tar.gz
Algorithm Hash digest
SHA256 1e49ab107dbd62fabf3b2c2079737d562cc473fce4a1e8d35906b2e87db40121
MD5 541177747725fb6f80799ca5c0235f24
BLAKE2b-256 de5c7c3576ddd4ad835357915d345e30083a0d603ab1cd19be4d2ed53a9bdb79

See more details on using hashes here.

File details

Details for the file pulp_cli-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: pulp_cli-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 69.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for pulp_cli-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f1fcec2cb2423919726461f9d528f4ccd374789f86e3c4f3f8360f62acadeba2
MD5 6d1c98f0249bd077b299b76d5553f58f
BLAKE2b-256 0c97dc8b272e88cff7b6f869952a213c37526618c1ca4a85610691b6a81f5167

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page