@@ -118,21 +118,22 @@ func main() {
118
118
Name : "provider" ,
119
119
Aliases : []string {"p" },
120
120
Required : true ,
121
- Usage : "Source code provider. options: 'gitlab'/'github'/'bitbucket'/'repository'" ,
121
+ Usage : "Source code provider. options: 'gitlab'/'github'/'bitbucket'/'repository'. " ,
122
122
},
123
123
& cli.StringFlag {
124
124
Name : "provider-url" ,
125
- Usage : "base URL of the Git provider API. If not set, defaults URL are used." ,
125
+ Usage : "Base URL of the Git provider API. If not set, defaults URL are used." ,
126
126
},
127
127
& cli.StringSliceFlag {
128
128
Name : "object" ,
129
129
Aliases : []string {"u" },
130
- Usage : "repository|org|group to scrape. If not specified all reachable repositories will be collected." ,
130
+ Usage : "Repository, organization or group to scrape. If not specified all reachable " +
131
+ "repositories will be collected." ,
131
132
},
132
133
& cli.BoolFlag {
133
134
Name : "include-forked-repos" ,
134
135
Value : false ,
135
- Usage : "include forked repositories. Available for 'github' and 'gitlab' providers." ,
136
+ Usage : "Include forked repositories. Available for 'github' and 'gitlab' providers." ,
136
137
},
137
138
& cli.BoolFlag {
138
139
Name : "include-public-repos" ,
@@ -148,18 +149,18 @@ func main() {
148
149
Name : "export-format" ,
149
150
Aliases : []string {"f" },
150
151
Value : "gzip-jsonl" ,
151
- Usage : "export format: 'jsonl'/'gzip-jsonl'/'json'/'gzip-json'" ,
152
+ Usage : "Export format: 'jsonl'/'gzip-jsonl'/'json'/'gzip-json'. " ,
152
153
},
153
154
& cli.StringFlag {
154
155
Name : "output" ,
155
156
Aliases : []string {"o" },
156
157
Value : "./fingerprints.jsonl.gz" ,
157
- Usage : "set output path to `FILE`. Use \" -\" to redirect to stdout." ,
158
+ Usage : "Set output path to `FILE`. Use \" -\" to redirect to stdout." ,
158
159
},
159
160
& cli.StringFlag {
160
161
Name : "clone-dir" ,
161
162
Value : "-" ,
162
- Usage : "set cloning location for repositories" ,
163
+ Usage : "Set cloning location for repositories. " ,
163
164
},
164
165
& cli.BoolFlag {
165
166
Name : "ssh-cloning" ,
@@ -169,32 +170,33 @@ func main() {
169
170
& cli.StringFlag {
170
171
Name : "after" ,
171
172
Value : "" ,
172
- Usage : "set a commit date after which we want to collect fileshas" ,
173
+ Usage : "Set a commit date after which we want to collect fileshas. " ,
173
174
},
174
175
& cli.StringFlag {
175
176
Name : "repo-name" ,
176
- Usage : "Name of the repository to display in outputs if the provider is 'repository'" ,
177
+ Usage : "Name of the repository to display in outputs if the provider is 'repository'. " ,
177
178
},
178
179
& cli.BoolFlag {
179
180
Name : "repo-is-private" ,
180
181
Value : false ,
181
- Usage : "Private status value to display in outputs if the provider is 'repository'" ,
182
+ Usage : "Private status value to display in outputs if the provider is 'repository'. " ,
182
183
},
183
184
& cli.StringFlag {
184
185
Name : "token" ,
185
186
Aliases : []string {"t" },
186
- Usage : "token for vcs access." ,
187
+ Usage : "Token for vcs access." ,
187
188
EnvVars : []string {"VCS_TOKEN" , "GITLAB_TOKEN" , "GITHUB_TOKEN" },
188
189
},
189
190
& cli.IntFlag {
190
191
Name : "cloners" ,
191
192
Value : DefaultClonerN ,
192
- Usage : "number of cloners, more cloners means more memory usage" ,
193
+ Usage : "Number of cloners, more cloners means more memory usage. " ,
193
194
},
194
195
& cli.IntFlag {
195
196
Name : "limit" ,
196
197
Value : DefaultLimit ,
197
- Usage : "maximum number of repositories to analyze (0 for unlimited)." ,
198
+ Usage : "Maximum number of repositories to analyze (0 for unlimited). " +
199
+ "The limit is applied for independently to each object." ,
198
200
},
199
201
},
200
202
},
0 commit comments