Documentation
¶
Overview ¶
Bundler downloads Copilot CLI binaries and packages them as a binary file, along with a Go source file that embeds the binary and metadata.
Usage:
go run github.com/github/copilot-sdk/go/cmd/bundler [--platform GOOS/GOARCH] [--output DIR] [--cli-version VERSION] [--check-only] --platform: Target platform using Go conventions (linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64, windows/arm64). Defaults to current platform. --output: Output directory for embedded artifacts. Defaults to the current directory. --cli-version: CLI version to download. If not specified, automatically detects from the copilot-sdk version in go.mod. --check-only: Check that embedded CLI version matches the detected version from package-lock.json without downloading. Exits with error if versions don't match.
Click to show internal directories.
Click to hide internal directories.