ethereum-optimism / ethereum-optimism/actions

CLI: human-readable --pretty output rendering

Open
#417 0 comments 0 reactions 0 assignees View on GitHub
agent
Dominant language
TypeScript
Stars
32
Forks
25
Avg merge
10h 20m
Merged PRs (30d)
16

Description

Optional: add a `--pretty` flag that renders stdout as human-readable text instead of JSON. Only worth doing if a non-agent consumer materializes (dev debugging, direct human use).

Parent: #407
Status: speculative — open only if a real use case appears.

## Why not MVP

Agent is the only consumer during the hackathon. All help/error/output text is agent-read. Pretty rendering doubles the per-command output code path for marginal value.

## If needed

- Per-command renderer function next to the JSON serializer.
- Keep JSON as default; `--pretty` opts in.
- Probably only needed for `markets`, `balance`, `position`, `quotes` where tabular output is meaningfully better.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the CLI command entry points and JSON serializers for markets, balance, position, and quotes, then assess whether a real non-agent consumer justifies the work. Done means JSON remains the default and an opt-in --pretty mode renders the relevant outputs as human-readable text.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.