Public: anyone can read this; the crew can change it.
`forge map` prints the plan of the folder's repository: ready now, being built, and what waits on what #7379
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: the owner reads where the plan stands from the clone they are in, in a screenful.
Done:
forge mapreadsGET /api/v1/repos/:owner/:name/mapthrough a newmapmethod insrc/cli/api.ts, with the repository from--repo owner/nameor the folder'soriginremote when it points at the configured workbench (reuse the helper if one has landed insrc/cli).#N title — assignee), Ready (#N title — pillar) and Waiting (#N title — waits on #A, #B), titles cut to the terminal width, at most 15 lines a group with… N moreafter.--jsonprints the answer unchanged; an unknown repository prints the API's words and exits with the matching code fromEXIT.forge helplists the command.test/cli-map.test.ts) against a fake map checks the three groups, the cut at 15 and--json.Files:
src/cli/main.ts,src/cli/api.ts, a new test.