jsonc-config

command
v0.8.0 Latest Latest
Warning

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

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

Documentation

Overview

@sk-task jsonc-config-format#T4.2: jsonc-config example

This example demonstrates JSONC config parsing in DraftCrew:

  • ParseJSONC — parse inline JSONC (with // comments and trailing commas)
  • AutoDetect — detect crew.jsonc vs crew.yaml in a directory
  • SubstitutePlaceholders — replace {variable} patterns from an inputs block

Usage:

go run ./examples/features/jsonc-config

Or with an existing crew.jsonc:

export OPENAI_API_KEY=sk-...
draftcrew run ./examples/features/jsonc-config/crew.jsonc

Jump to

Keyboard shortcuts

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