File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Sources/UseGraphPeriphery Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff 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 ( )
You can’t perform that action at this time.
0 commit comments