chore: fix swiftlint after split
This commit is contained in:
@@ -37,6 +37,7 @@ struct ClawdisCLI {
|
||||
}
|
||||
}
|
||||
|
||||
// swiftlint:disable cyclomatic_complexity
|
||||
private static func parseCommandLine() throws -> Request {
|
||||
var args = Array(CommandLine.arguments.dropFirst())
|
||||
guard let command = args.first else { throw CLIError.help }
|
||||
@@ -126,6 +127,8 @@ struct ClawdisCLI {
|
||||
}
|
||||
}
|
||||
|
||||
// swiftlint:enable cyclomatic_complexity
|
||||
|
||||
private static func send(request: Request) async throws -> Response {
|
||||
let conn = NSXPCConnection(machServiceName: serviceName)
|
||||
let interface = NSXPCInterface(with: ClawdisXPCProtocol.self)
|
||||
|
||||
Reference in New Issue
Block a user