Skip to content

cli: piping suppresses any output from info #62

Description

@partyvan

if maretf picks up that it's not running in a tty, it sets quiet, which suppresses output on tfout and not just tferr. this means to do something like

maretf info --info-output-mode kv1 tex.vtf | vdf2json | jq <...>

you need to actually:

maretf --verbose info --info-output-mode kv1 tex.vtf | vdf2json | jq <...>

which is kind of counterintuitive, considering the purpose someone typically has in mind when telling a program to output something in a machine-readable format. i don't have a bead on all the things that might break by changing how tfout works (or if everything that counts as fluff is reliably sent to tferr, or if doing that breaks some windows usage or something), so i don't exactly know what a patch would look like, but i figured i'd bring it up

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions