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

package shown in autocompletion list of pkg mode but not a recognized command #4108

Open
felixcremer opened this issue Dec 6, 2024 · 3 comments

Comments

@felixcremer
Copy link
Contributor

When I hit tab in the pkg mode of the REPL I thought that I would get a list of all available commands.
This list includes package but when I try to run it I get this error:

(@v1.10) pkg> package
ERROR: `package` is not a recognized command. Type ? for help with available commands

and if I try to get the help for package I get the expanded help for all available commands.

I find this confusing and would have expected that this entry is not in the autocompletion list.

@fredrikekre
Copy link
Member

The command just isn't complete, you have to keep tabbing to reach for example package add.

@IanButterworth
Copy link
Member

I'd not heard of package before. It's not listed in pkg>?

@fredrikekre
Copy link
Member

It is just an optional prefix to all the normal commands (similar to registry, but for registry it isn't optional of course).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants