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

Add a suggestion/warning when running "registry list" for the first time since behaviour change #370

Closed
philrenaud opened this issue Jul 6, 2023 · 0 comments · Fixed by #379
Assignees
Labels
theme/cli Relates to the CLI in general

Comments

@philrenaud
Copy link

If you run nomad-pack registry list after upgrading to the latest upcoming release, you'll be met with a list of packs that you, since #354 , would now expect to be seen with nomad-pack list, and with columns missing:

image

The user can fix this by running nomad-pack registry delete default (or whatever non-default registry they happened to have), but there's no indication that this is required when they first run the new registry list. This could be confusing for existing pack users.

Could we detect if registry list lists packs, not registries, as indicated by the above screenshot, and suggest to the user that they run a registry delete ______ along a message that the command has changed? If this message gets shown conditionally when getting the above column-missing output, it seems like it would be unobtrusive but helpful.

@pkazmierczak pkazmierczak self-assigned this Jul 10, 2023
@pkazmierczak pkazmierczak added the theme/cli Relates to the CLI in general label Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/cli Relates to the CLI in general
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants