Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pulp deb --help not listing the available sub-commands #781

Closed
quba42 opened this issue Apr 19, 2023 · 1 comment · Fixed by #782
Closed

pulp deb --help not listing the available sub-commands #781

quba42 opened this issue Apr 19, 2023 · 1 comment · Fixed by #782
Assignees
Labels
bug Something isn't working (template-set)

Comments

@quba42
Copy link
Contributor

quba42 commented Apr 19, 2023

It looks like pulp deb --help is no longer listing the available sub-commands, compare:

(pulp_cli) quirin@qatix:~/git/pulp/oci_env$ ${PULP_CLI_CMD} deb --help
Usage: pulp deb [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.
(pulp_cli) quirin@qatix:~/git/pulp/oci_env$ ${PULP_CLI_CMD} file --help
Usage: pulp file [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  acs
  content
  distribution
  publication
  remote
  repository
@quba42 quba42 added the bug Something isn't working (template-set) label Apr 19, 2023
@quba42
Copy link
Contributor Author

quba42 commented Aug 24, 2023

We have been trying and failing to find the cause for this. The list of subcommands for pulp deb --help should be:

distribution
publication
remote
repository

Once pulp/pulp-cli-deb#57 is merged and released there will also be content.

Oddly on my issue branch the help does list the content subcommand, but not any of the others (and I cannot find any difference in the implementation that would explain this).

The help for the subcommands themselves still seems to work, so if you know them by heart you can simply continue with for example:

pulp deb remote --help

@mdellweg mdellweg transferred this issue from pulp/pulp-cli-deb Sep 5, 2023
mdellweg added a commit to mdellweg/pulp-cli that referenced this issue Sep 5, 2023
This fixes the help pages and auto-completion missing subcommands not
inherited from PulpCommand/PulpGroup.

fixes pulp#781
@mdellweg mdellweg mentioned this issue Sep 5, 2023
3 tasks
@mdellweg mdellweg self-assigned this Sep 5, 2023
mdellweg added a commit that referenced this issue Sep 5, 2023
This fixes the help pages and auto-completion missing subcommands not
inherited from PulpCommand/PulpGroup.

fixes #781
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working (template-set)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants