blob: f1306d920fe0a5ba0a94aaa5cd581831591590fb [file] [edit]
struct VersionCommand: Subcommand {
static let helpText = """
Usage:
swift-debugserver version
Displays the version of swift-debugserver.
"""
static func parse(_ args: ArraySlice<String>)
throws(ArgumentParseError) -> VersionCommand {
if let extra = args.first {
throw .unexpectedArgument(extra)
}
return VersionCommand()
}
func run() {
print("swift-debugserver Version 0.0.1")
}
}