Bake default display options into ai-docs mise task

The --style=header --color=never --decorations=always flags are now built
into the script so callers can just run `mise run ai-docs`. Also adds a
note to CLAUDE.md to never truncate the output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-02-25 17:42:47 -08:00
commit 23dc79058e
4 changed files with 7 additions and 5 deletions

View file

@ -22,5 +22,5 @@ FILES=(
)
# Concatenate files with headers showing paths
# Pass through any args to bat (e.g., --style=header --color=never --decorations=always)
bat "$@" "${FILES[@]}"
# Defaults are tuned for AI consumption (plain text, file headers only)
bat --style=header --color=never --decorations=always "$@" "${FILES[@]}"