feat(cli): issue link-req / unlink-req — manual requirement links (#329 C)
CLI half of the manual requirement↔issue link surface: `anvil issue
link-req <N> <REQ-…|STD-…>` POSTs the new
/issues/:number/requirement-links endpoint (server resolves REQ-* against
the repo, STD-* against the org; manual links survive #264 rescans), and
`unlink-req` DELETEs the link regardless of source. Both honor --json with
the standard {"ok":true,…} envelope.
Integration tests (real binary vs wiremock) for both envelopes.
Part of epic fangorn/anvil#329 (Workstream C).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
SHA:
3e4fd4fb6dc52e7881bbbee2a74257708d3a5ff7
Author:
CI <ci@anvil.test>
Date:
2026-07-07 03:27
Parents:
2ba69e2
2 files changed
+142
-0
| Type | ||
|---|---|---|
|
|
src/commands/issue.rs | +76 −0 |
|
||
|
|
tests/json_output.rs | +66 −0 |
|
||