chore: fix swiftlint after split

This commit is contained in:
Peter Steinberger
2025-12-07 00:14:03 +01:00
parent 82e751a153
commit 7b7c4bd116
12 changed files with 123 additions and 124 deletions

View File

@@ -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)