Skip to main content
← Back to list
01Issue
FeatureOpenSwamp CLI
Assigneesstack72

Add swamp issue get CLI command to fetch issue details

Opened by stack72 · 4/15/2026

Problem

The swamp CLI can submit issues (swamp issue bug, swamp issue feature) but has no command to fetch and display an existing issue's details. The issue-lifecycle model can fetch issues, but there's no lightweight CLI command for quick lookups.

This is needed so that workflows (like checking whether an issue author is a team member before co-authoring a commit) can be performed directly from the CLI without creating a full lifecycle model instance.

Proposed Solution

Add a swamp issue get <number> command that:

  • Fetches issue details from GET /api/v1/lab/issues/{number}
  • Displays title, type, status, author (once #117 lands), body, assignees, and comment count
  • Supports both log and json output modes
  • Requires swamp auth login (same as issue submission)

Example usage:

swamp issue get 42
swamp issue get 42 --json

Affected Components

  • New CLI command: swamp issue get (src/cli/commands/)
  • Presentation layer: new output renderer for issue details
  • Infrastructure: may reuse the existing SwampClubClient or add a fetchIssue method to the auth/submission client

Depends on #117 for the author field, but the command is useful without it.

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

4/15/2026, 10:00:35 PM

No activity in this phase yet.

03Sludge Pulse
stack72 assigned stack724/15/2026, 10:01:02 PM

Sign in to post a ripple.