Skip to main content

kapi voice guide

kapi guide [path]

Print the voice guide in force.

Inside a project, a path selects the voice for that file's own content. An item that declares a file for its comments alone governs only those comments, so the content resolves to the next item that claims the file, or to the project's default point. --comments asks for the point the file's comments sit at instead, and lists the comment limits in force there. Ask with --comments before writing a comment, in a Go source file or any other.

Commandvoice guide
Try it

Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.

kapi voice guide
Flags
FlagTypeDefaultDescription
--channelstringapply channel-specific overrides
--colorstringautocolorize output: auto, always, never
--commentsboolfalseresolve the voice at the point the file's comments sit at
--filestringexplicit path to resource file
--jqstringfilter JSON output through a jq expression (implies --json)
--jsonboolfalseOutput in JSON format
--localboolfalseuse resource in current directory
--localestringapply locale-specific overrides
--namestringnamed resource in KAPI_HOME (e.g. --name project-terms)
--output-formatstringOutput format: text (alias: table), json, yaml
--packstringbuilt-in starter pack name
--personastringapply an author persona's overrides (within the profile guardrails)
--profilestringvoice profile name in the local store
--profile-filestringpath to a standalone profile YAML
--project, -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--textboolfalseOutput in text format (default)

← Back to the Command Reference