Path returns the absolute path to the embedded Copilot CLI, installing it on first call if necessary. It returns an empty string when no embedded CLI was configured via Setup (e.g. a build compiled without the embedded runtime). The result is computed once and cached for the life of the process.
()
| 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 | } |
no outgoing calls
searching dependent graphs…