Commit 498819c
committed
refactor(client-cli): rework
So it conforms ADR#7 - Standardize log output:
- print every progress message in stderr
- add support for json output
Note: as the command run a subcommand, the subcommands print are only
shown when json output is disabled, if we want otherwise we need to
intercept messages to format them in a json object (which is not
trivial).snapshot-converter prints1 parent 03f5d3c commit 498819c
File tree
3 files changed
+205
-67
lines changed- mithril-client-cli/src
- commands/tools/utxo_hd
- utils
3 files changed
+205
-67
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments