diff --git a/Sources/Commands/SwiftTestCommand.swift b/Sources/Commands/SwiftTestCommand.swift index 0eaf6b8623c..c4c6b45bc62 100644 --- a/Sources/Commands/SwiftTestCommand.swift +++ b/Sources/Commands/SwiftTestCommand.swift @@ -124,6 +124,11 @@ struct TestEventStreamOptions: ParsableArguments { @Option(name: .customLong("experimental-attachments-path"), help: .private) var experimentalAttachmentsPath: AbsolutePath? + + /// Path for writing attachments (Swift Testing only.) + @Option(name: .customLong("attachments-path"), + help: "Path where attachments should be written (Swift Testing only). This path must be an existing directory the current user can write to. If not specified, any attachments created during testing are discarded.") + var attachmentsPath: AbsolutePath? } struct TestCommandOptions: ParsableArguments {