go-ethereum/cmd
Péter Szilágyi 750250387e internal/flags: remove low-use type TextMarshalerFlag (#30707)
Currently we have a custom TextMarshalerFlag. It's a nice idea, allowing
anything implementing text marshaller to be used as a flag. That said,
we only ever used it in one place because it's not that obvious how to
use and it needs some boilerplate on the type itself too, apart of the
heavy boilerplate got the custom flag.

All in all there's no *need* to drop this feature just now, but while
porting the cmds over to cli @v3, all other custom flags worker
perfectly, whereas this one started crashing deep inside the cli
package. The flag handling in v3 got rebuild on generics and there are a
number of new methods needed; and my guess is that maybe one of them
doesn't work like this flag currently is designed too.

We could definitely try and redesign this flag for cli v3... but all
that effort and boilerplate just to use it for 1 flag in 1 location,
seems not worth it. So for now I'm suggesting removing it and maybe
reconsider a similar feature in cli v3 with however it will work.
2024-11-19 14:50:11 +01:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen all: replace log15 with slog (#28187) 2023-11-29 08:33:50 +01:00
blsync internal/flags: remove Merge, it's identical to slices.Concat (#30706) 2024-11-19 14:50:11 +01:00
bootnode cmd/evm, cmd/clef, cmd/bootnode: fix / unify logging (#28696) 2023-12-18 14:11:27 +01:00
clef all: clean up goerli flag and config (#30289) 2024-08-20 15:59:48 +02:00
devp2p internal/flags: remove Merge, it's identical to slices.Concat (#30706) 2024-11-19 14:50:11 +01:00
era cmd: use package filepath over path for file system operations (#29227) 2024-03-12 10:00:34 +01:00
ethkey cmd: fix some typos in readmes (#29405) 2024-04-11 14:06:49 +03:00
evm internal/flags: remove Merge, it's identical to slices.Concat (#30706) 2024-11-19 14:50:11 +01:00
geth internal/flags: remove Merge, it's identical to slices.Concat (#30706) 2024-11-19 14:50:11 +01:00
rlpdump build: update to golangci-lint 1.61.0 (#30587) 2024-11-19 14:50:11 +01:00
utils internal/flags: remove low-use type TextMarshalerFlag (#30707) 2024-11-19 14:50:11 +01:00