Questions on pulp-cli-deb usage (sync background & repo update)

I have a couple of questions about using pulp-cli-deb:

  1. Running sync in the background
    When I run a repo sync from the CLI, it waits until the task finishes. I don’t see a --background option like in some other tools. Is there a way to launch a sync in the background (i.e., fire and forget, then check the task later)?
  2. Updating a repo
    What is the correct CLI syntax to update a repository (e.g., if I want to change the name)? I checked --help but couldn’t figure out how to do it properly.

Any guidance would be much appreciated!

Thanks.

Have you tried running the --help flag for each sub command separately? Example:

pulp --help
pulp deb --help
pulp deb repository --help
pulp deb repository sync --help

In general flags only exist for certain sub commands and need to be added to that command. For example the --background flag exists, but only on the base CLI command, so you would need to run something like:

pulp --background deb repository sync <sync_options>

Does that help?

Note also that not all features are accessible via the CLI, some features are only available via the API, see: Rest API - Debian - Pulp Project

There are many examples in the workflow docs, e.g.: Repository Synchronization - Pulp Project