Improve verbose mode of the CLI #425

Open
opened 2025-12-28 17:19:26 +00:00 by sami · 2 comments
Owner

Originally created by @carpawell on GitHub (Jan 28, 2022).

Verbose printing is used in printVerbose function only. That function is called only 23 times in the whole neofs-cli app.

I believe our CLI could be more communicative for both user and developer when he debugs some errors.

Originally created by @carpawell on GitHub (Jan 28, 2022). Verbose printing is used in `printVerbose` function only. That function is called only 23 times in the _whole_ `neofs-cli` app. I believe our CLI could be more communicative for both user and developer when he debugs some errors.
Author
Owner

@carpawell commented on GitHub (Feb 3, 2022):

  • It could print what key source was used: wallet, binary, WIF
  • It could print all the read command (config) flags right before their usage.
  • ...
@carpawell commented on GitHub (Feb 3, 2022): - It could print what key source was used: wallet, binary, WIF - It could print all the read command (config) flags right before their usage. - ...
Author
Owner

@cthulhu-rider commented on GitHub (May 4, 2022):

Some tools take into account amount of v flags increasing details. Maybe we can also support this approach. For example:

  • -v: user-related info like keys, resolved flags, etc.
  • -vv: additionally print actions step by step
  • -vvv: debug mode with a description of each action, useful for devs

Main desire: to use a convenient framework so that the eye is not blurred when implementing/reading the main instructions.

@cthulhu-rider commented on GitHub (May 4, 2022): Some tools take into account amount of `v` flags increasing details. Maybe we can also support this approach. For example: - `-v`: user-related info like keys, resolved flags, etc. - `-vv`: additionally print actions step by step - `-vvv`: debug mode with a description of each action, useful for devs Main desire: to use a convenient framework so that the eye is not blurred when implementing/reading the main instructions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-node#425
No description provided.