Skip to content

Confusing file path semantics #132

@ripatel-fd

Description

@ripatel-fd

When running decode-protobufs, the command-line output is fairly useless

$ solana-test-suite decode-protobufs -i dump/test-vectors/instr/fixtures/system/feb51849e0e67c4e997bbdb98c9a83a9602395f6.fix
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 154.86it/s]
--------------------
1 total files seen
1 files successfully written

It renders a large progress bar and reports that it's done, but it doesn't actually specify where it's written the output into.

The command seems to write the output into readable_context ... Which is hard to guess just using the tool

Suggest either decoding to stdout by default, or accepting flags like -o --output -O --output-dir that make the output path more predictable

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions