We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0cc17 commit 07090e6Copy full SHA for 07090e6
Examples/command-line-client-example/Sources/CommandLineClient/CommandLineClient.swift
@@ -17,15 +17,15 @@ import Foundation
17
import ArgumentParser
18
19
@main struct CommandLineClient: AsyncParsableCommand {
20
- static var configuration: CommandConfiguration = .init(
+ static let configuration: CommandConfiguration = .init(
21
commandName: "CommandLineClient",
22
subcommands: [GreetCommand.self]
23
)
24
}
25
26
struct GreetCommand: AsyncParsableCommand {
27
28
- static var configuration: CommandConfiguration = .init(commandName: "greet")
+ static let configuration: CommandConfiguration = .init(commandName: "greet")
29
30
@Option var name: String
31
0 commit comments