We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c05221 commit 9b008fcCopy full SHA for 9b008fc
1 file changed
Sources/UseGraphPeriphery/UseGraphDynamic.swift
@@ -83,11 +83,18 @@ public struct UseGraphPeripheryCommand: AsyncParsableCommand {
83
@Option(help: "Path to project (.xcodeproj)")
84
var projectPath: String? = nil
85
86
+ @Argument(help: "Schemes to analyze")
87
+ var schemes: String
88
+
89
+ @Argument(help: "Targets to analyze")
90
+ var targets: String
91
92
93
public func run() async throws {
94
Configuration.shared.workspace = projectPath
- Configuration.shared.schemes = ["App"]
95
+ Configuration.shared.schemes = schemes.components(separatedBy: ",")
96
if projectPath != nil {
- Configuration.shared.targets = ["Travel"]
97
+ Configuration.shared.targets = targets.components(separatedBy: ",")
98
}
99
let driver = try XcodeProjectDriver.build()
100
try driver.build()
0 commit comments