Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

cdno normalise

Reorder note frontmatter into the canonical key order of each note’s template (a custom .cuaderno/templates/ override if present, else the built-in). Notes cdno creates are already canonical; this fixes hand-authored or migrated notes.

cdno normalise [OPTIONS]

Options

FlagDescription
--checkReport out-of-order notes without rewriting them. Exits non-zero if any are out of order.

Plus the global options. normalise ignores --json.

Examples

cdno normalise            # rewrite notes into canonical frontmatter order
cdno normalise --check    # report only; non-zero exit if anything is out of order (CI-friendly)

normalise only reorders existing keys — it never changes values or adds/removes fields. The canonical order is whatever the matching template defines.

See also