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

feat: list all keys in store #234

Merged
merged 4 commits into from
Dec 19, 2024
Merged

feat: list all keys in store #234

merged 4 commits into from
Dec 19, 2024

Conversation

Lazar955
Copy link
Member

@Lazar955 Lazar955 commented Dec 18, 2024

Adds eotsd ls command which prints all keys from DB

closes

@Lazar955 Lazar955 requested a review from gitferry December 18, 2024 16:18
Copy link
Member

@gitferry gitferry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work!

// CommandPrintAllKeys prints all EOTS keys
func CommandPrintAllKeys() *cobra.Command {
var cmd = &cobra.Command{
Use: "ls",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be list?

var cmd = &cobra.Command{
Use: "ls",
Aliases: []string{"ls"},
Short: "Print all EOTS keys from database",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Short: "Print all EOTS keys from database",
Short: "Print all EOTS key names and public keys mapping from database",

@Lazar955 Lazar955 merged commit 70df36f into main Dec 19, 2024
12 checks passed
@Lazar955 Lazar955 deleted the lazar/list-all-eots-keys branch December 19, 2024 11:25
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

Successfully merging this pull request may close these issues.

2 participants