Skip to content

playbook_get_standards

playbook_get_standards(project: str, language: str)

Read-only. One language’s rules.

Argument Notes
project Workspace directory basename.
language The language to read, e.g. kotlin. Required - these documents only exist per language.

That language’s standards, testing rules and anti-patterns.

language is required on purpose: the standards, testing and anti-pattern documents exist only per language, so there is nothing sensible to return without one. Call playbook_find_standards with no query to see which languages a project covers.