Cherry.Commands.Schema (cherry v0.2.0)

Copy Markdown View Source

Prints a collection's frontmatter schema.

Usage

mix cherry.schema COLLECTION [--json]

Lists every field with its type, whether it is required, its default, and its documentation. Agents: run this before writing content files — the schema is the contract your frontmatter must satisfy.

Summary

Functions

The single-sourced doc text, reused as the mix task's @moduledoc.

Functions

doc()

@spec doc() :: String.t()

The single-sourced doc text, reused as the mix task's @moduledoc.