hyperledger-archives / sawtooth-core

Core repository for Sawtooth Distributed Ledger
https://wiki.hyperledger.org/display/sawtooth
Apache License 2.0
1.43k stars 764 forks source link

unify sawtooth CLI argument behavior #2453

Open mtbc opened 1 year ago

mtbc commented 1 year ago

Subcommands vary unexpectedly. E.g.,

then

It's probably worth reviewing the command-line arguments across sawtooth's subcommands to look for easy opportunities for unification. With luck, some of this is a bit of copy-and-paste that can be factored out to a common helper.

mtbc commented 1 year ago

It's worth noting that other Sawtooth CLI like sawset is missing some of these, could be worth looking beyond just sawtooth in unifying.