pulp-cli @ develop
POC: pulp command line interface
This is a technology preview of the command line interface for pulp3.
General command syntax
pulp [<options>] <plugin> <resource_class> [--type <resource_type>] <action> [<action_specifics>]
The CLI can be configured by using a toml file.
By default the location of this file is
However, this can be customized by using the
Any settings supplied as options to a command will override these settings.
[cli] base_url = "https://pulp.dev" verify_ssl = false format = "json"
If no user/pass is supplied either in the config file or as an option,
then the CLI will attempt to use
Here is a
.netrc example for localhost:
machine localhost login admin password password
- Redirecting from
https, as done by a typical Pulp installation, does not work properly with
PUTrequests. Please use
https://in the base url. Note that the attempt to use
httpleaks sensitive data over an unencrypted connection.
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
Tests are run using
Tests are shell scripts in
tests/scripts with names like
pulp-cli comes with python type annotations and black code formatting.
To verify your code please run
Also available in: Atom