UndocumentedKeys reported the unused alternatives of a struct like
SecretRef (env/file/value) as undocumented; a struct implementing the
marker configcmd.OneOf now counts as documented with one alternative,
and upgrade offers none of the others to a file that chose one.
completion.Tree gets the key completion.Files: that level completes
file and directory paths besides command names (bash, zsh, fish,
PowerShell), for programs started as "<program> [path]" like yamc.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New module yetano.dev/yetano/core/cobracmd (own go.mod, cobra stays out
of the main module): Completion replaces cobra's default completion
command, which exits 0 for an unknown shell, with one that accepts only
bash|zsh|fish|powershell (exit 2 otherwise); Execute maps cobra's usage
errors to exit 2, other errors to 1.
completion: the bash script's install line is eval "$(prog completion
bash)" -- bash 3.2 on macOS cannot source a process substitution.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
core/completion prints bash, zsh, fish or PowerShell completion scripts
from a static command tree ("<program> completion <shell>"); core/doctor
is one report shape (resolved paths incl. the standard core/paths ones,
named checks), printed as a table or --json, exit 0/1/2. Together with
core/manual they implement the Yetano program standard
(docs/program-conventions.md in the meta-repo).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>