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

codegen

command
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Command codegen is the generation entry point for the Pasture protocol. The canonical `make generate` command invokes the go:generate directive in internal/codegen/codegen.go, which selects both registered harness targets:

go run ../../tools/codegen --targets claude-code,opencode

The tool writes schema.xml once, then emits each selected harness's skills, agents, verbatim skill copies, and manifest. Direct invocations may use --targets for focused generator development, but repository validation uses the canonical all-target command.

Exits non-zero if any generator returns an error.

Jump to

Keyboard shortcuts

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