Help us shape the future of Go! Take the 2026 Go Developer Survey

bundler

command
v1.0.24 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 20 Imported by: 0

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.json without downloading. Exits with error if versions don't match.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL