diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-04 16:59:45 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-03-04 16:59:45 +0000 |
| commit | ecae4bd13c1e28d7efd9ee9bb106ff27fa0451f6 (patch) | |
| tree | 96d8208535e8ee672d383dac70446c3cd4865e00 /src/bin/ngit/sub_commands/mod.rs | |
| parent | af016dd23101537ccc8ecd5a992bf3b7c6d3abe9 (diff) | |
add `ngit repo --json` for machine-readable repo detection
Outputs {"is_nostr_repo": false} when not in a nostr repository, or
full structured JSON (name, identifier, description, nostr_url,
coordinate, maintainers, grasp_servers, git_servers, relays, hashtags)
when it is. Always exits 0. Also adds --title as an alias for --name
on `ngit init`.
Diffstat (limited to 'src/bin/ngit/sub_commands/mod.rs')
0 files changed, 0 insertions, 0 deletions