You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cmd/star/cli duplicates cmd/internal/cli, and the two now disagree on the flag surface #743
cmd/star/cli is a second copy of cmd/internal/cli. The two have already diverged, and after #740's Phase 1
they contradict each other on the flag surface every program is supposed to share.
cmd/star/cli/output.go is 387 lines; cmd/internal/cli/output.go is 196. The copy is not stale — it grew.
They now disagree
cmd/internal/cli
cmd/star/cli
Flags bound
--filter, --jq, --output/-o, --store, --template
--format, --filter
Options type
SinkOptions
OutputFlags
Registration
PersistentFlags() — inherited by every subcommand
Flags() — the one command only
Renderer
result.Pipeline over pkg/result + pkg/sink
its own renderTable and format switch
star is one of the four programs #740 requires to share the common set. It cannot, while it binds a
different set from a different package.
renderTable is wanted, not deleted
cmd/star/cli/output.go:159 implements a table renderer. #740's Phase 4 calls for exactly one TableFormatter in pkg/result, and #741 records that lore's hand-rolled table truncates by byte count. This implementation is the candidate to promote, not to discard — Phase 4 is a move plus a rune-safety
fix, not a fresh write.
Scope
The only consumer is cmd/star/main.go, so the consolidation is contained: promote renderTable into pkg/result, point star at cmd/internal/cli, and delete the duplicate package.
Activity
feat(writ): the common set, and --json retires (#739, #740)
One output convention for every app: result to stdout, documents to t…
doc(cli): suite membership is infrastructure, and two version numbers (…
Every presentation is a presentation of the JSON: formatting rules, l…
writ reconcile: the command is renamed, and its renderings go through…
Plan #743 is a draft until it is reviewed
Charter the plan for #743: LKG taken, three more collisions, three ru…
Config spec and plan: the command surface is one set on four programs
Delete cmd/star/cli, the dead copy of cmd/internal/cli
Align the CLI and config design docs with #743 phase 2 and the three …
star moves onto the shared root, and its extension commands become co…
star's last eight stdout sites: narration narrates, a result emits, a…
Ambient, not non-hermetic
CI: the dry-run test hands the generator a slash-separated package, a…
star adopts the output convention: the shared root, and extension com…
Every program has a generated reference, and the build generates it (#…