Primary Prism CLI targets and when to use each one.

Target Model

prism is organized around explicit subcommand targets:

Target Matrix

Target Primary Input Primary Output Best Use
role local role directory role README, optional runbook artifacts authoring and review
collection local collection root collection docs + plugin inventory portfolio documentation
repo remote Git source + role path generated docs from repository source remote validation and intake
completion shell type completion script local CLI ergonomics

Target: role

Use when scanning a local role directory.

Example:

prism role path/to/role -o README.md

Common advanced options:

Target: collection

Use when scanning a local collection root with galaxy.yml and roles/.

Example:

prism collection path/to/collection -f md -o COLLECTION_DOCS.md

Common advanced options:

Target: repo

Use when scanning a role path from a repository source.

Example:

prism repo --repo-url https://github.com/org/repo --repo-role-path . -o README.md

Common advanced options:

Target: completion

Use when generating shell completion from the live parser.

Example:

prism completion bash

Output Strategy by Target