Skip to the content.

Developer Guide

This guide is for people who want to contribute to Crankfire or integrate it with other tooling.

Repository Layout

Local Development

Requirements

Run Tests

From the repo root:

go test ./...

Build

go build -o build/crankfire ./cmd/crankfire

Adding a Feature

  1. Decide whether it belongs in the CLI (cmd/crankfire) or an internal package.
  2. Add tests in the corresponding *_test.go files.
  3. Keep public behavior discoverable via docs (README.md and docs/).

Follow existing patterns for configuration structs and JSON/YAML tags to keep the config surface consistent.

Extending Protocol Support

When adding protocol‑specific options:

Coding Style

Filing Issues & PRs