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

core/identity/cli/identity.rs cleanup #3270

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dommyrock
Copy link

Minor code readability / cleanup .

@dommyrock dommyrock requested a review from a team as a code owner July 12, 2024 17:06
prekucki
prekucki previously approved these changes Sep 19, 2024
@prekucki prekucki self-requested a review September 19, 2024 20:53
} else {
let password = if *no_password {
Protected::from("")
} else if let Some(password) = password {
Copy link
Member

Choose a reason for hiding this comment

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

You lost this case:

$ yagna id create --from-private-key ".." --password ".." alias

without --password means that you will be asked for a password unless the --no-password flag is passed.

Copy link
Author

Choose a reason for hiding this comment

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

Yep, my mistake. Thanks for the head up!

@prekucki prekucki self-requested a review September 19, 2024 21:03
@prekucki prekucki dismissed their stale review September 19, 2024 21:04

missing --password flag impl.

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