worktrunk
worktrunk copied to clipboard
hook docs improvements
@worktrunk-bot please open a PR with these changes:
- remove the paths in
Both user (~/.config/worktrunk/config.toml) and project (.config/wt.toml) hooks are supported., unneeded for the intro - and this path:
with output logged to .git/wt/logs/{branch}-{source}-{hook}-{name}.log.. instead, link to the config command that gives logs Approvals are saved to user config (~/.config/worktrunk/config.toml)is wrong- I'm thinking of removing all the examples at the top, they seem very verbose. or consider initially moving them towards the bottom
Thanks for reporting this! I've opened #1785 with these changes:
- Removed the inline config paths from the intro sentence
- Replaced the raw
.git/wt/logs/...path with a link towt config state logs - Fixed the approvals path — was incorrectly listed as
config.toml, now correctlyapprovals.toml - Moved per-hook-type examples to the bottom as a single consolidated TOML block, keeping the type descriptions as a compact reference section
A maintainer will review it shortly.