worktrunk icon indicating copy to clipboard operation
worktrunk copied to clipboard

hook docs improvements

Open max-sixty opened this issue 8 months ago • 1 comments

@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

max-sixty avatar Mar 28 '26 18:03 max-sixty

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 to wt config state logs
  • Fixed the approvals path — was incorrectly listed as config.toml, now correctly approvals.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.

worktrunk-bot avatar Mar 28 '26 18:03 worktrunk-bot