Skip to content

Commit 9b008fc

Browse files
committed
Remove names
1 parent 6c05221 commit 9b008fc

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Sources/UseGraphPeriphery/UseGraphDynamic.swift

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,18 @@ public struct UseGraphPeripheryCommand: AsyncParsableCommand {
8383
@Option(help: "Path to project (.xcodeproj)")
8484
var projectPath: String? = nil
8585

86+
@Argument(help: "Schemes to analyze")
87+
var schemes: String
88+
89+
@Argument(help: "Targets to analyze")
90+
var targets: String
91+
92+
8693
public func run() async throws {
8794
Configuration.shared.workspace = projectPath
88-
Configuration.shared.schemes = ["App"]
95+
Configuration.shared.schemes = schemes.components(separatedBy: ",")
8996
if projectPath != nil {
90-
Configuration.shared.targets = ["Travel"]
97+
Configuration.shared.targets = targets.components(separatedBy: ",")
9198
}
9299
let driver = try XcodeProjectDriver.build()
93100
try driver.build()

0 commit comments

Comments
 (0)