Skip to content
Connect an agent
Command reference

plotwork outline

Print a plain-text outline of every diagram, to check what it says. It is a command of the Plotwork command line, the npm package @buun_group/plotwork.

TL;DR

QuestionAnswer
What does it do?Print a plain-text outline of every diagram, to check what it says.
How do I run it?npx -y @buun_group/plotwork@0.1.0-beta.13 outline, or plotwork outline once the package is installed.
What does it write?Nothing.
Does it use the network?No. It reads and writes files on this machine only.
Does it read the repository settings?Yes: the header defaults of the settings file apply to every diagram. See Configuration.
How do I read this in a terminal?plotwork outline --help

Synopsis

sh
plotwork outline <file> [--config <file>]

What it does

Prints every diagram of a file as plain text: its nodes, groups, and connections in words. Use it to check that a diagram says what it should without looking at the picture, or to describe it in a review.

Options

OptionDefaultWhat it does
--config <file>PLOTWORK_CONFIG, else the nearest plotwork.config.json or .plotwork/config.json from the file up to the repository rootThe repository settings file to read: header defaults, and the style rules check applies.

Examples

Describe every diagram of a page.

sh
plotwork outline docs/architecture.md

Exit codes

CodeWhen
0Every diagram was outlined.
1A diagram has an error.
2A mistake in the command line: an unknown option, a missing operand, a file or glob that matches nothing, or a settings file that cannot be read.

See also

DocWhy
Command referenceEvery command of the command line
Writing diagramsWhat a diagram says, in words
Exit codes and output formatsWhat every code and format means