genexample

command
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command genexample regenerates config.example.json from config.Default() (LO-17: the committed example had drifted — escalation_model still said gemma4-26b-a4b while the code default was an older escalation model, and ~20 newer keys were missing entirely). It emits EVERY json-tagged Config field in struct order, so the example is the complete, current key inventory. Home-dir prefixes are rewritten to portable "~/" paths (config.Load expands them since LO-4).

Run from the repo root: `go generate .` (wired in main.go) or `go run ./cmd/genexample`.

Jump to

Keyboard shortcuts

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