@@ -58,7 +58,7 @@ public struct PackageCollectionsCommand: AsyncParsableCommand {
58
58
public static var configuration = CommandConfiguration (
59
59
commandName: " package-collection " ,
60
60
_superCommandName: " swift " ,
61
- abstract: " Interact with package collections " ,
61
+ abstract: " Interact with package collections. " ,
62
62
discussion: " SEE ALSO: swift build, swift package, swift run, swift test " ,
63
63
version: SwiftVersion . current. completeDisplayString,
64
64
subcommands: [
@@ -77,7 +77,7 @@ public struct PackageCollectionsCommand: AsyncParsableCommand {
77
77
// MARK: Collections
78
78
79
79
struct List : AsyncSwiftCommand {
80
- static let configuration = CommandConfiguration ( abstract: " List configured collections " )
80
+ static let configuration = CommandConfiguration ( abstract: " List configured collections. " )
81
81
82
82
@OptionGroup
83
83
var jsonOptions : JSONOptions
@@ -101,7 +101,7 @@ public struct PackageCollectionsCommand: AsyncParsableCommand {
101
101
}
102
102
103
103
struct Refresh : AsyncSwiftCommand {
104
- static let configuration = CommandConfiguration ( abstract: " Refresh configured collections " )
104
+ static let configuration = CommandConfiguration ( abstract: " Refresh configured collections. " )
105
105
106
106
@OptionGroup ( visibility: . hidden)
107
107
var globalOptions : GlobalOptions
@@ -115,18 +115,18 @@ public struct PackageCollectionsCommand: AsyncParsableCommand {
115
115
}
116
116
117
117
struct Add : AsyncSwiftCommand {
118
- static let configuration = CommandConfiguration ( abstract: " Add a new collection " )
118
+ static let configuration = CommandConfiguration ( abstract: " Add a new collection. " )
119
119
120
- @Argument ( help: " URL of the collection to add " )
120
+ @Argument ( help: " URL of the collection to add. " )
121
121
var collectionURL : String
122
122
123
- @Option ( name: . long, help: " Sort order for the added collection " )
123
+ @Option ( name: . long, help: " Sort order for the added collection. " )
124
124
var order : Int ?
125
125
126
- @Flag ( name: . long, help: " Trust the collection even if it is unsigned " )
126
+ @Flag ( name: . long, help: " Trust the collection even if it is unsigned. " )
127
127
var trustUnsigned : Bool = false
128
128
129
- @Flag ( name: . long, help: " Skip signature check if the collection is signed " )
129
+ @Flag ( name: . long, help: " Skip signature check if the collection is signed. " )
130
130
var skipSignatureCheck : Bool = false
131
131
132
132
@OptionGroup ( visibility: . hidden)
@@ -158,9 +158,9 @@ public struct PackageCollectionsCommand: AsyncParsableCommand {
158
158
}
159
159
160
160
struct Remove : AsyncSwiftCommand {
161
- static let configuration = CommandConfiguration ( abstract: " Remove a configured collection " )
161
+ static let configuration = CommandConfiguration ( abstract: " Remove a configured collection. " )
162
162
163
- @Argument ( help: " URL of the collection to remove " )
163
+ @Argument ( help: " URL of the collection to remove. " )
164
164
var collectionURL : String
165
165
166
166
@OptionGroup ( visibility: . hidden)
@@ -186,15 +186,15 @@ public struct PackageCollectionsCommand: AsyncParsableCommand {
186
186
}
187
187
188
188
struct Search : AsyncSwiftCommand {
189
- static var configuration = CommandConfiguration ( abstract: " Search for packages by keywords or module names " )
189
+ static var configuration = CommandConfiguration ( abstract: " Search for packages by keywords or module names. " )
190
190
191
191
@OptionGroup
192
192
var jsonOptions : JSONOptions
193
193
194
- @Flag ( help: " Pick the method for searching " )
194
+ @Flag ( help: " Pick the method for searching. " )
195
195
var searchMethod : SearchMethod
196
196
197
- @Argument ( help: " Search query" )
197
+ @Argument ( help: " The search query. " )
198
198
var searchQuery : String
199
199
200
200
@OptionGroup ( visibility: . hidden)
@@ -233,18 +233,18 @@ public struct PackageCollectionsCommand: AsyncParsableCommand {
233
233
// MARK: Packages
234
234
235
235
struct Describe : AsyncSwiftCommand {
236
- static var configuration = CommandConfiguration ( abstract: " Get metadata for a collection or a package included in an imported collection " )
236
+ static var configuration = CommandConfiguration ( abstract: " Get metadata for a collection or a package included in an imported collection. " )
237
237
238
238
@OptionGroup
239
239
var jsonOptions : JSONOptions
240
240
241
- @Argument ( help: " URL of the package or collection to get information for " )
241
+ @Argument ( help: " URL of the package or collection to get information for. " )
242
242
var packageURL : String
243
243
244
- @Option ( name: . long, help: " Version of the package to get information for " )
244
+ @Option ( name: . long, help: " Version of the package to get information for. " )
245
245
var version : String ?
246
246
247
- @Flag ( name: . long, help: " Skip signature check if the collection is signed " )
247
+ @Flag ( name: . long, help: " Skip signature check if the collection is signed. " )
248
248
var skipSignatureCheck : Bool = false
249
249
250
250
@OptionGroup ( visibility: . hidden)
0 commit comments