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](docs/install.md) 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
## Shell Completion
The CLI uses the click package which supports shell completion. To configure this, check out [click’s documentation](https://click.palletsprojects.com/en/7.x/bashcomplete/). As an example, here is what to add to your ~/.bashrc file if you’re using bash:
`bash eval "$(_PULP_COMPLETE=source_bash pulp)" `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pulp-cli-0.4.0.tar.gz
.
File metadata
- Download URL: pulp-cli-0.4.0.tar.gz
- Upload date:
- Size: 31.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6af2759be0c21bc7e8eff14154b669057b06388b7cf7eed82269b25056871014 |
|
MD5 | 25f3f886c0a6454edc3c00091d8b92dc |
|
BLAKE2b-256 | 9bf8fdea173e02c1bb0a56f4e0a7ae598ab9797139c947f507d7c8e6598bb497 |
File details
Details for the file pulp_cli-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: pulp_cli-0.4.0-py3-none-any.whl
- Upload date:
- Size: 54.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 960282fb721aa79edd9d2787294e5f460207a82fbd5981e993b78fbbf162c163 |
|
MD5 | fecb0b7c2243b75a1dfbefe55037e718 |
|
BLAKE2b-256 | 2d0db70b7e7b7f8d25ca512d12c97e40d9ae390845e808c9e7a961d9d56bff5f |