Implement easy metadata flag on CLI
gmelodie opened this issue · comments
Gabriel Cruz commented
Currently when specifying --metadata
on the CLI you have to manually marshall and base64 encode the bitswap{}
or graphsync struct and then pass it to the flag. It would be nice to simply have a --protocol
flag that you can specify --protocol graphsync
(for bitswap you make it the default value). Maybe the proto
flag already does that, not sure, but if that's the case maybe we could change it to --proto [bitswap | graphsync]
instead of using cryptic numeric values.
Masih H. Derkani commented
Duplicate of #199. Closing. Please re-open if you think this is different.