-
Notifications
You must be signed in to change notification settings - Fork 649
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
bbolt cli: Inspect command missing in cmd/bbolt/main.go #820
Comments
See bbolt/cmd/bbolt/command_root.go Line 22 in ee5b596
|
... check cmd/bbolt/main.go the command isn't registered there and so it's inaccessible bbolt cli throws uknown command if you try to use it |
Read Lines 65 to 73 in ee5b596
Also for some background, read #472 Also next time raise a question in https://github.com/etcd-io/bbolt/discussions if you have any confusion. |
ok, can you point where in the run function is the inspect command? Line 111 in ee5b596
try running the cli yourself instead maybe that should help you figure it out. as the docs clearly state the command should work as described in the cli's readme inspect
yet its is missing in the switch statement. in the usage function also you can clearly see inspect command being listed Line 151 in ee5b596
and here's a snippet of myself trying to run the command using the cli that was installed using the latest version $ bbolt inspect my.db
unknown command hope this makes it clearer, sorry for the inconvenience as from your response it seems that you weren't happy about this being brought to your attention. and for your info I did check the other closed issues prior to making this one. Have a nice day. |
and just like I thought there's nothing about this on the discussions either :) |
Execute commands below on
|
was the inspect command in the cli removed on purpose? or is it just missing from main.go? because the command functionality exists in command_inspect.go it's just not added to the switch statement in main.go
The text was updated successfully, but these errors were encountered: