Support "--output=<file>" in cmds that return data to stdout #8335
Labels
kind/enhancement
A net-new feature or improvement to an existing feature
need/triage
Needs initial labeling and prioritization
Milestone
Problem
@aschmahmann noted that printing to stdout is not the best ergonomics when working with commands like:
ipfs block get
ipfs multibase encode|decode
.They take input from a file OR stdout, but return data to stdout only, which is problematic:
--output=
IS supported inipfs get
, but not in mentionedblock
ordag export
.Solution
-o | --output=
to mentioned commands-o | --output=
as part of https://github.com/ipfs/go-ipfs-cmds-o --output
parameter to the command definitionThe text was updated successfully, but these errors were encountered: