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 cbc8bdc commit 510a6a7Copy full SHA for 510a6a7
Sources/Swiftly/Proxy.swift
@@ -14,6 +14,10 @@ public enum Proxy {
14
}
15
16
guard binName != "swiftly" else {
17
+ if CommandLine.arguments.count > 1, CommandLine.arguments[1] == "--generate-completion-script" {
18
+ // If the first argument is for completion script generation, we let swiftly handle it and finish.
19
+ return await Swiftly.main()
20
+ }
21
// Treat this as a swiftly invocation, but first check that we are installed, bootstrapping
22
// the installation process if we aren't.
23
let configResult: Result<Config, any Error>
0 commit comments