Open
Description
Description
The current state of cardano-cli top-level sub-commands is quite chaotic and a bit too unpredictable. While I appreciate deprecation of specific commands, what we have currently is far from desirable.
- There are cases where for instance we have
cardano-cli address
available at top level. We also havecardano-cli <era> address
which is deprecated, and then we havecardano-cli latest address
. It seems redundant to havecardano-cli address
as well ascardano-cli latest address
. To make it worse, if we go and check stake address - we do NOT havecardano-cli stake-address
, butcardano-cli latest stake-address
works. This requires us to check for each and every object individually rather than being able to count on some consistency. - My first assumption given the above was atleast when we have something at root as well as latest, their sub commands will be similar, nope! Let's have a look at
cardano-cli query
vscardano-cli latest query
. Latter gives us a lot more options (eg:treasury
,ref-script-size
, conway-specific queries).
It sounds like the options presented at root should be atleast marked as deprecated, if not - have some consistency between root and latest.
Possible Solution
Retire all duplicates and only leave available commands under latest
(or at root) and move anything from previous era to compatible