diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-04 13:28:30 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-04 13:28:30 +0000 |
| commit | 3908abbbfc5e748dd168d22bf5e3ea6aae17de61 (patch) | |
| tree | 7d16390d57f8a7399212ebc30e6524ed25da1db6 /src/bin/ngit/sub_commands/mod.rs | |
| parent | a554da3ec0bdfef648921fda41f38ad0a5d53d27 (diff) | |
feat: add ngit issue list command
Non-interactive listing of NIP-34 issues (kind 1621) with status
resolution, hashtag display, and detail view.
- get_issues_from_cache: fetch GitIssue events from local cache by repo
coordinate, mirroring get_proposals_and_revisions_from_cache
- ngit issue list: table output of ID, status, title and hashtags at end
of each row; status resolved via existing get_status() logic
- --status: comma-separated filter (open,draft,closed,applied; default: open)
- --hashtag: comma-separated label filter (case-insensitive, OR match)
- --json: machine-readable output including hashtags and description
- --offline: skip network fetch, use local cache only
- <id>: optional positional argument (hex event-id or nevent) to show
full details of a specific issue including body content
Diffstat (limited to 'src/bin/ngit/sub_commands/mod.rs')
| -rw-r--r-- | src/bin/ngit/sub_commands/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/ngit/sub_commands/mod.rs b/src/bin/ngit/sub_commands/mod.rs index d132240..d864391 100644 --- a/src/bin/ngit/sub_commands/mod.rs +++ b/src/bin/ngit/sub_commands/mod.rs | |||
| @@ -3,6 +3,7 @@ pub mod checkout; | |||
| 3 | pub mod create; | 3 | pub mod create; |
| 4 | pub mod export_keys; | 4 | pub mod export_keys; |
| 5 | pub mod init; | 5 | pub mod init; |
| 6 | pub mod issue_list; | ||
| 6 | pub mod list; | 7 | pub mod list; |
| 7 | pub mod login; | 8 | pub mod login; |
| 8 | pub mod logout; | 9 | pub mod logout; |