The current CLI implementation is a bit rough around the edges and a bit of polish would make it much more user-friendly.
Some initial considerations from @frrist (in the discussion of #13) are:
- Infer whether a file is a CAR from its extension
- Evolve the
json flag into an output flag that supports different outputs (e.g. json, plaintext, etc.)
- Related with ☝, send data to stdout and logs to stderr
- Change the
--wrap flag into --no-wrap if wrapping should be the default behavior
- Decide whether a
concurrent-requests flag is necessary and what its default should be
The current CLI implementation is a bit rough around the edges and a bit of polish would make it much more user-friendly.
Some initial considerations from @frrist (in the discussion of #13) are:
jsonflag into anoutputflag that supports different outputs (e.g.json,plaintext, etc.)--wrapflag into--no-wrapif wrapping should be the default behaviorconcurrent-requestsflag is necessary and what its default should be