generate-playbook-index

command
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

generate-playbook-index walks a playbook directory tree and writes a machine-readable index that lists every playbook's id, name, description, version and tags. Other tools (e.g. the assertoor web UI's remote library tab) read the index instead of fetching each playbook individually.

Folders may include an optional `_header.yaml` to give the folder a human-readable name and description; those are emitted in the `folders:` section of the generated index.

Usage:

go run scripts/generate-playbook-index/generate-playbook-index.go <playbooks-dir>

The index is written to <playbooks-dir>/_index.yaml.

Jump to

Keyboard shortcuts

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