-
Notifications
You must be signed in to change notification settings - Fork 326
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
Add --all option to light rm
command to remove all peers
#432
Conversation
/// remove all peers, implies --force | ||
all: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a flag to skip confirmation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I forgot about that, will get on it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Codecov Report
@@ Coverage Diff @@
## master #432 +/- ##
=========================================
+ Coverage 13.6% 36.6% +22.9%
=========================================
Files 69 154 +85
Lines 3752 11114 +7362
Branches 1374 4268 +2894
=========================================
+ Hits 513 4072 +3559
- Misses 2618 6429 +3811
+ Partials 621 613 -8
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this ready? Looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Romain!
…ystems#432) * Add --all option to `light rm` command to remove all peers * Add --yes option to skip confirmation * Update changelog
Closes: #431
Description
Add
--all
option tolight rm
command to remove all peers for a given chain.For contributor use:
docs/
) and code comments.Files changed
in the Github PR explorer.