dkliban / pulp-cli-old

Command line interface for pulp3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>]

options include:

  • --base-url
  • --user
  • --password

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

Testing

Tests are run using pytest.

Tests are shell scripts in tests/scripts with names like test_*.sh.

About

Command line interface for pulp3


Languages

Language:Python 93.1%Language:Shell 6.9%