Skip to content

type

Terminal window
pkm type add dag --template dag-template.md --dir Notes/DAGs --scope global

The template is copied into .pkm/types/, and new notes of that type are written to the configured directory.

Terminal window
pkm type list
pkm type list --scope project
Terminal window
pkm type show dag
Terminal window
pkm type remove dag --scope global

Removing a type unregisters it. It does not delete existing notes or template files.

Terminal window
pkm type add etl-dag --template etl-template.md --dir Notes/ETL --base dag

The base field is informational today, but useful for organizing related type families.