We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2de82f commit 599299aCopy full SHA for 599299a
SwiftDraw/CommandLine.Configuration.swift
@@ -114,12 +114,14 @@ extension CommandLine {
114
let ultralightInsets = try parseInsets(from: modifiers[.ultralightInsets])
115
let black = try parseFileURL(file: modifiers[.black], within: baseDirectory)
116
let blackInsets = try parseInsets(from: modifiers[.blackInsets])
117
+ let output = try parseFileURL(file: modifiers[.output], within: baseDirectory)
118
+
119
let options = try parseOptions(from: modifiers)
120
let result = source.newURL(for: format, scale: scale)
121
return Configuration(input: source,
122
inputUltralight: ultralight,
123
inputBlack: black,
- output: result,
124
+ output: output ?? result,
125
format: format,
126
size: size,
127
api: api,
0 commit comments