prysm-pulse/cmd/validator/accounts
Manu NALEPA 886d76fe7c
Refactor validator client help. (#13401)
* Define `cli.App` without mutation.

No functional change.

* `usage.go`:  Clean `appHelpTemplate`.

No functional change is added.
Modifications consist in adding prefix/suffix `-` to improve readability of
the template without adding new lines in template inference.

We now see some inconsistencies of the template:
- `if .App.Version` is around the `AUTHOR` section.
- `if .App.Copyright` is around both `COPYRIGHT` and `VERSION` sections.
- `if len .App.Authors` is around nothing.

* `usage.go`: Surround version and author correctly.

* `usage.go`: `AUTHOR` ==> `AUTHORS`

* `usage.go`: `GLOBAL` --> `global`.

* `--grpc-max-msg-size`: Remove double default.

* VC: Standardize help message.

- Flags help begin with a capital letter and end with a period.
- If a flag help begins with a verb, it is conjugated.
- Expermitemtal, danger etc... mentions are between parenthesis.

* VC help message: Wrap too long lines.
2024-01-02 18:02:28 +00:00
..
accounts.go Refactor validator client help. (#13401) 2024-01-02 18:02:28 +00:00
backup_test.go Refactor Exported Names to Follow Golang Best Practices (#13075) 2023-10-20 16:45:33 +00:00
backup.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
BUILD.bazel Update rules_go and gazelle to 0.42 & 0.33 (latest releases) (#13021) 2023-10-10 12:50:29 +08:00
delete_test.go Reopenning fix for keystore field name change to align with EIP2335 (#12530) 2023-06-14 15:48:30 -05:00
delete.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
exit_test.go Refactor Exported Names to Follow Golang Best Practices (#13075) 2023-10-20 16:45:33 +00:00
exit.go Refactor Exported Names to Follow Golang Best Practices (#13075) 2023-10-20 16:45:33 +00:00
import_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
import.go CLI: fixing account import ux bugs (#13328) 2023-12-13 17:11:32 +00:00
list.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
wallet_utils_test.go CLI: fixing account import ux bugs (#13328) 2023-12-13 17:11:32 +00:00
wallet_utils.go Enable whitespace linter & fix findings (#12273) 2023-04-18 18:58:27 +00:00