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 481ccac commit 7aa67e5Copy full SHA for 7aa67e5
1 file changed
go/embeddedcli/installer.go
@@ -15,3 +15,11 @@ type Config = embeddedcli.Config
15
func Setup(cfg Config) {
16
embeddedcli.Setup(cfg)
17
}
18
+
19
+// Path returns the absolute path to the embedded Copilot CLI, installing it on
20
+// first call if necessary. It returns an empty string when no embedded CLI was
21
+// configured via Setup (e.g. a build compiled without the embedded runtime).
22
+// The result is computed once and cached for the life of the process.
23
+func Path() string {
24
+ return embeddedcli.Path()
25
+}
0 commit comments