-
Notifications
You must be signed in to change notification settings - Fork 2.2k
[bug]: missing description to wtclient command "session" and "terminate" command option #9583
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
Comments
wtclient: Add descriptions for session and terminate commands - Added detailed descriptions for the watchtower client session and terminate commands to improve user guidance. - Fixed formatting issues as per linter requirements. - Updated release notes for version 0.19.0. Fixes lightningnetwork#9583
wtclient: Add descriptions for session and terminate commands - Added detailed descriptions for the watchtower client session and terminate commands to improve user guidance. - Fixed formatting issues as per linter requirements. - Updated release notes for version 0.19.0. Fixes lightningnetwork#9583
#9588 Pls check this |
Checked, see comment |
is this still in the need of a triage? |
@twofaktor The |
can i create a PR for this ??... |
There's already a PR #9588 underway, although it's a bit abandoned. If you want to take it up again...go ahead |
wtclient: Add descriptions for session and terminate commands Improved user guidance by adding detailed CLI help text for the session and terminate subcommands in the watchtower client (wtclient). Fixes: lightningnetwork#9583 Changed Description Adds helpful descriptions for lncli wtclient session and lncli wtclient terminate to make the CLI more user-friendly. No logic changes. Steps to Test 1. lncli wtclient --Check that the session and terminate commands now have clear descriptions. 2. make lint
@twofaktor should i submit a PR or leave it cuz i can see the guy is active now and he has made a commit .... |
Hi @AbhinavAnand241201 you can try to review the pr instead |
yess exactly ...i was going to do this ..but was waiting for @twofaktor 's reply... |
Thanks for the heads-up, @AbhinavAnand241201 and @saubyk. Totally fair point — I had been a bit inactive earlier, but I’m back on this now and will be maintaining the PR actively. That said, I really appreciate you checking in and offering to help. If you spot anything in the PR that can be improved, I’d love your feedback or suggestions in the review! Let’s collaborate and get it merged properly 💪 |
Enhanced user guidance by refining CLI help descriptions for the `session` and `terminate` subcommands under the watchtower client (wtclient). Specifically changed `ArgsUsage` from "id" to "session_id" to improve clarity and consistency across the CLI. Fixes: lightningnetwork#9583 Changed Description: - Updated `lncli wtclient session` and `lncli wtclient terminate` descriptions to be more user-friendly and descriptive. - Changed `ArgsUsage: "id"` to `ArgsUsage: "session_id"` for clearer CLI documentation. - No logic changes; this is a documentation/help text improvement only. Steps to Test: 1. Run `lncli wtclient` and ensure the session and terminate commands display clear, descriptive help text. 2. Run `make lint` to confirm no linting issues are introduced.
… fixes. - Added detailed descriptions for the session and terminate commands in wtclient to improve user guidance and clarity. - Changed the ArgsUsage for the session command from 'id' to 'session_id'. - Refined descriptions to explain the purpose of each command. - Fixed long description lines to adhere to the 80-character line limit. - Updated the release notes for version 0.19.0. Fixes: lightningnetwork#9583
Background
After navigating around the
lncli wtclient
subcommands, I noticed there are missing descriptions and "how to use" forsession
andterminate
command optionsYour environment
lnd
: 0.18.5btcd
,bitcoind
, or other backend: bitcoindSteps to reproduce
Navigate around the
lncli wtclient
subcommandsExpected behaviour
Detailed description of "how to use" for
session
andterminate
subcommand optionActual behaviour
Missing information
Screenshots
Possible code lines to be addressed
https://github.com/lightningnetwork/lnd/blob/master/cmd/commands/wtclient.go#L378-L420
Edit:
PR related: #9588
The text was updated successfully, but these errors were encountered: