You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Whether this invocation is from the SwiftPM plugin. We always need to produce all files when invoked from the plugin. Non-requested modes produce empty files."
48
48
)
49
49
varisPluginInvocation:Bool=false
50
-
50
+
51
51
@Flag(
52
52
help:
53
53
"Simulate the command and print the operations, without actually affecting the file system."
Copy file name to clipboardExpand all lines: Sources/swift-openapi-generator/runGenerator.swift
+5-33Lines changed: 5 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -16,31 +16,6 @@ import ArgumentParser
16
16
import _OpenAPIGeneratorCore
17
17
18
18
extension_Tool{
19
-
20
-
/// A structure that defines ANSI escape codes for different colors in the terminal output.
21
-
///
22
-
/// You can use these codes to change the color of the text printed by the `print` function or other methods that write to the standard output. To reset the text color to the default, use the `reset` code.
23
-
///
24
-
/// For example, to print "Hello" in red and "World" in green, you can use:
25
-
/// ```swift
26
-
/// print(
27
-
/// CommandLineColors.red +
28
-
/// "Hello" +
29
-
/// CommandLineColors.green +
30
-
/// "World" +
31
-
/// CommandLineColors.reset
32
-
/// )
33
-
/// ```
34
-
structCommandLineColors{
35
-
/// The ANSI escape code for resetting the text color and style to the default.
36
-
staticletreset="\u{001B}[0;0m"
37
-
/// The ANSI escape code for changing the text color to red.
38
-
staticletred="\u{001B}[0;31m"
39
-
/// The ANSI escape code for changing the text color to green.
40
-
staticletgreen="\u{001B}[0;32m"
41
-
}
42
-
43
-
44
19
/// Runs the generator with the specified configuration values.
0 commit comments