Skip to main content

mr note-types revisions

Inspect and restore the Template Revisions of a Note Type. Every save that changes one of its templates, its MetaSchema or its SectionConfig records a revision, so each subcommand takes the note type ID with --id and works on that note type's history.

The subcommands are list, show, diff, restore and label. All of them require an editor or admin account, because history is visible only to those who may edit the note type.

Usage​

mr note-types revisions

Flags​

This command has no local flags.

Inherited global flags​

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Exit Codes​

0 on success; 1 on any error

See Also​