Gå til hovedinnhold

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
--channel stringapply channel-specific overrides
--color stringautocolorize output: auto, always, never
--comments boolfalseresolve the voice at the point the file's comments sit at
--file stringexplicit path to resource file
--jq stringfilter JSON output through a jq expression (implies --json)
--json boolfalseOutput in JSON format
--local boolfalseuse resource in current directory
--locale stringapply locale-specific overrides
--name stringnamed resource in KAPI_HOME (e.g. --name project-terms)
--output-format stringOutput format: text (alias: table), json, yaml
--pack stringbuilt-in starter pack name
--persona stringapply an author persona's overrides (within the profile guardrails)
--profile stringvoice profile name in the local store
--profile-file stringpath to a standalone profile YAML
--project , -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--text boolfalseOutput in text format (default)

← Back to the Command Reference