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

chore(cli): tidy cli output by removing peers list #1077

Merged
merged 2 commits into from Dec 14, 2023

Conversation

iancoleman
Copy link
Contributor

@iancoleman iancoleman commented Dec 13, 2023

Description

Small ergonomic improvements to the cli output.

I tried to copy the address when calling safe wallet get-faucet by double clicking the address and it also included the ... at the end of the address.

The peer list is not useful and is very long so can be removed from the output. Might be useful to add a safe peers command or something like that to list peers? Related to #1007

Summary generated by Reviewpad on 13 Dec 23 20:48 UTC

This pull request includes two patches.

The first patch updates the code in the main.rs file to improve the stdout output when connecting to the network with peers. Instead of printing each individual peer, it now prints the number of peers.

The second patch modifies the wallet.rs file to remove the unnecessary ellipsis in the println statement, making it easier to copy the wallet address.

@reviewpad reviewpad bot requested a review from grumbach December 13, 2023 20:48
@reviewpad reviewpad bot added Small Pull request is small waiting-for-review labels Dec 13, 2023
@iancoleman iancoleman changed the title Cli stdout improvements chore(cli): tidy cli output by removing peers list Dec 13, 2023
@joshuef
Copy link
Contributor

joshuef commented Dec 14, 2023

nice one 🙇

@joshuef joshuef added this pull request to the merge queue Dec 14, 2023
Merged via the queue into maidsafe:main with commit 13fdb58 Dec 14, 2023
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Small Pull request is small
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants