This document contains the help content for the detail command-line program.
Command Overview:
detail↴detail auth↴detail auth login↴detail auth logout↴detail auth status↴detail bugs↴detail bugs list↴detail bugs show↴detail bugs close↴detail bugs reopen↴detail bugs prioritize↴detail completions↴detail rules↴detail rules create↴detail rules propose↴detail rules requests↴detail rules requests list↴detail rules requests show↴detail rules list↴detail rules show↴detail rules pull↴detail satisfying-sort↴detail repos↴detail repos list↴detail scans↴detail scans list↴detail skill↴detail skill rules↴detail update↴detail version↴
Detail CLI - Manage bugs from your terminal
Common workflow:
- List pending bugs: detail bugs list <owner/repo>
- View a bug report: detail bugs show <bug_id>
- Fix the bug
- Close the bug: detail bugs close <bug_id>
Usage: detail <COMMAND>
auth— Manage login credentialsbugs— List, show, and close bugscompletions— Print shell completion script to stdoutrules— Create and inspect rulessatisfying-sort— Run a fun animation. Humans onlyrepos— Manage repos tracked with Detailscans— List and inspect scansskill— Install Detail skills (default: detail-bugs)update— Update immediately (auto-update also runs in the background)version— Show version information
Manage login credentials
Usage: detail auth <COMMAND>
login— Login with your Detail accountlogout— Logout and remove stored credentialsstatus— Show current authentication status
Login with your Detail account
Usage: detail auth login [OPTIONS]
--token <TOKEN>— API token (dtl_live_...) — skips the browser flow
Logout and remove stored credentials
Usage: detail auth logout
Show current authentication status
Usage: detail auth status
List, show, and close bugs
Usage: detail bugs <COMMAND>
list— List bugs for a given repositoryshow— Show the report for a bugclose— Close a bug as resolved or dismissedreopen— Reopen a previously resolved or dismissed bug — flips it back to pending. Useful when a "fix" PR is reverted or a "won't fix" decision is overturnedprioritize— Set a bug's priority, overriding Detail's own assessment
List bugs for a given repository
Usage: detail bugs list [OPTIONS] [REPO]
<REPO>— Repository by owner/repo (e.g., usedetail/cli) or repo (e.g., cli). If omitted, inferred from the git or jj remote (origin)
-
--status <STATUS>— Status filter — repeat the flag or comma-separate values to combine (e.g.--status pending,resolved). Default: pendingDefault value:
pendingPossible values:
pending,resolved,dismissed -
--vulns— Only show security vulnerabilities -
--priority <PRIORITY>— Only show bugs at these priorities — repeat the flag or comma-separate values (e.g.--priority p1,p2). Usenonefor bugs Detail never assigned a priority. Default: all prioritiesPossible values:
p1,p2,p3,none -
--sort <SORT>— Result ordering.priorityputs the most severe bugs first and unprioritized bugs lastDefault value:
newestPossible values:
newest,oldest,priority -
--introduced-by <INTRODUCED_BY>— Only show bugs introduced by these authors (comma-separated or repeat flag) -
--scan-id <SCAN_ID>— Filter bugs to a specific scan by workflow request ID -
--since <SINCE>— Only show bugs created at or after this point. Accepts a duration (e.g. 1d, 24h, 30m) interpreted as "now minus this", an ISO date (YYYY-MM-DD), or an RFC3339 timestamp -
--until <UNTIL>— Only show bugs created at or before this point. Same forms as --since -
--all— Auto-paginate: fetch every matching bug instead of a single page -
--limit <LIMIT>— Maximum number of results per pageDefault value:
50 -
--page <PAGE>— Page number (starts at 1)Default value:
1 -
--format <FORMAT>— Output formatDefault value:
tablePossible values:
table,json
Show the report for a bug
Usage: detail bugs show [OPTIONS] <BUG_ID>
<BUG_ID>— Bug ID
-
--format <FORMAT>— Output formatDefault value:
tablePossible values:
table,json
Close a bug as resolved or dismissed
Usage: detail bugs close [OPTIONS] <BUG_ID>
<BUG_ID>— Bug ID
-
--state <STATE>— Close state (prompted interactively if omitted in a TTY)Possible values:
pending,resolved,dismissed -
--dismissal-reason <DISMISSAL_REASON>— Dismissal reason (required if state is dismissed)Possible values:
not-a-bug,wont-fix,duplicate,other -
--notes <NOTES>— Additional notes -
--format <FORMAT>— Output formatDefault value:
tablePossible values:
table,json
Reopen a previously resolved or dismissed bug — flips it back to pending. Useful when a "fix" PR is reverted or a "won't fix" decision is overturned
Usage: detail bugs reopen <BUG_ID>
<BUG_ID>— Bug ID
Set a bug's priority, overriding Detail's own assessment
Usage: detail bugs prioritize [OPTIONS] <BUG_ID>
<BUG_ID>— Bug ID
-
--priority <PRIORITY>— Priority to set (prompted interactively if omitted in a TTY)Possible values:
p1,p2,p3 -
--comment <COMMENT>— Why the priority is changing — recorded on the bug's timeline -
--format <FORMAT>— Output formatDefault value:
tablePossible values:
table,json
Print shell completion script to stdout.
Add the appropriate line to your shell's startup file:
bash (~/.bashrc): source <(detail completions bash)
zsh (~/.zshrc): source <(detail completions zsh)
fish (~/.config/fish/config.fish): detail completions fish | source
powershell ($PROFILE): detail completions powershell | Out-String | Invoke-Expression
SHELL defaults to whatever is detected from $SHELL. Supported shells: bash, zsh, fish, elvish, powershell.
Usage: detail completions [SHELL]
<SHELL>— Shell to print completions for (defaults to $SHELL)
Create and inspect rules
Usage: detail rules <COMMAND>
create— Submit a rule creation request for a repositorypropose— Ask Detail to propose rules for a repositoryrequests— Check the status of rule creation requestslist— List completed rules for a repositoryshow— Show a rule's details and contentpull— Pull a rule's generated files locally
Submit a rule creation request for a repository
Usage: detail rules create [OPTIONS] [REPO]
<REPO>— Repository by owner/repo (e.g., usedetail/cli) or repo name. If omitted, inferred from the git or jj remote (origin)
--description <DESCRIPTION>— Description of the rule to create--bug-ids <BUG_IDS>— Bug IDs to use as context (comma-separated or repeat flag)--commit-shas <COMMIT_SHAS>— Commit SHAs to examine for patterns (comma-separated or repeat flag)
Ask Detail to propose rules for a repository
Usage: detail rules propose [REPO]
<REPO>— Repository by owner/repo (e.g., usedetail/cli) or repo name. If omitted, inferred from the git or jj remote (origin)
Check the status of rule creation requests
Usage: detail rules requests <COMMAND>
list— List rule creation requests for a repositoryshow— Show details and status of a rule creation request
List rule creation requests for a repository
Usage: detail rules requests list [OPTIONS] [REPO]
<REPO>— Repository by owner/repo (e.g., usedetail/cli) or repo name. If omitted, inferred from the git or jj remote (origin)
-
--format <FORMAT>— Output formatDefault value:
tablePossible values:
table,json
Show details and status of a rule creation request
Usage: detail rules requests show <REQUEST_ID>
<REQUEST_ID>— Rule creation request ID (rcr_...)
List completed rules for a repository
Usage: detail rules list [OPTIONS] [REPO]
<REPO>— Repository by owner/repo (e.g., usedetail/cli) or repo name. If omitted, inferred from the git or jj remote (origin)
-
--format <FORMAT>— Output formatDefault value:
tablePossible values:
table,json
Show a rule's details and content
Usage: detail rules show <RULE_ID>
<RULE_ID>— Rule ID (rule_...)
Pull a rule's generated files locally
Usage: detail rules pull [OPTIONS] <RULE_ID>
<RULE_ID>— Rule ID (rule_...)
--output <OUTPUT>— Skill directory to write detail-rules/ into (defaults to .claude/skills/)
Run a fun animation. Humans only
Usage: detail satisfying-sort
Manage repos tracked with Detail
Usage: detail repos <COMMAND>
list— List all repositories you have access to
List all repositories you have access to
Usage: detail repos list [OPTIONS]
-
--limit <LIMIT>— Maximum number of results per pageDefault value:
50 -
--page <PAGE>— Page number (starts at 1)Default value:
1 -
--format <FORMAT>— Output formatDefault value:
tablePossible values:
table,json
List and inspect scans
Usage: detail scans <COMMAND>
list— List recent scans for a repository
List recent scans for a repository
Usage: detail scans list [OPTIONS] [REPO]
<REPO>— Repository in owner/repo format or just repo name. If omitted, inferred from the git or jj remote (origin)
-
--status <STATUS>— Filter by workflow status (e.g. failed scans in the last day)Possible values:
in-progress,complete,failed,dlq -
--scan-type <SCAN_TYPE>— Filter by scan typePossible values:
default,recent-changes -
--since <SINCE>— Only show scans created at or after this point. Accepts a duration (e.g. 1d, 24h, 30m), an ISO date (YYYY-MM-DD), or an RFC3339 timestamp -
--until <UNTIL>— Only show scans created at or before this point. Same forms as --since -
--limit <LIMIT>— Maximum number of results per pageDefault value:
50 -
--page <PAGE>— Page number (starts at 1)Default value:
1 -
--format <FORMAT>— Output formatDefault value:
tablePossible values:
table,json
Install Detail skills (default: detail-bugs)
Usage: detail skill [OPTIONS] [COMMAND]
rules— Install the detail-create-rules skill
--user— Install to user-level ~/.claude/skills instead of the current repo
Install the detail-create-rules skill
Usage: detail skill rules
Update immediately (auto-update also runs in the background)
Usage: detail update
Show version information
Usage: detail version
This document was generated automatically by
clap-markdown.