diff options
Diffstat (limited to 'src/bin/ngit/cli.rs')
| -rw-r--r-- | src/bin/ngit/cli.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs index 5ee9165..5feaf31 100644 --- a/src/bin/ngit/cli.rs +++ b/src/bin/ngit/cli.rs | |||
| @@ -158,6 +158,9 @@ pub struct RepoSubCommandArgs { | |||
| 158 | /// Use local cache only, skip network fetch | 158 | /// Use local cache only, skip network fetch |
| 159 | #[arg(long)] | 159 | #[arg(long)] |
| 160 | pub offline: bool, | 160 | pub offline: bool, |
| 161 | /// Output repository info as JSON; is_nostr_repo is false when not in a nostr repository | ||
| 162 | #[arg(long)] | ||
| 163 | pub json: bool, | ||
| 161 | } | 164 | } |
| 162 | 165 | ||
| 163 | // --------------------------------------------------------------------------- | 166 | // --------------------------------------------------------------------------- |