Get path to CLI.
(self)
| 79 | return self |
| 80 | |
| 81 | async def get_cli(self) -> str: |
| 82 | """Get path to CLI.""" |
| 83 | if cli_bin := os.getenv("_EXPERIMENTAL_DAGGER_CLI_BIN"): |
| 84 | return cli_bin |
| 85 | |
| 86 | # Get from cache or download. |
| 87 | return await Downloader(progress=self.progress) |
| 88 | |
| 89 | async def setup_client(self, conn: BaseConnection) -> "Client": |
| 90 | """Setup client instance from connection.""" |