Bug fixes
-
Fix first-run experience (#721, #730, #771): Declining community cheatsheets during initial setup no longer causes errors on subsequent runs.
config.New()now skips missing cheatpaths with a warning instead of a fatal error. -
Fix
--initoutput (#773):cheat --initnow comments out the community cheatpath by default and includes clone instructions, so the output works as a config file without modification. -
Fix stdin buffering in installer prompts: The installer's interactive prompts now read stdin without buffering, allowing
cheatto be scripted (e.g.,printf "y\nn\n" | cheat). -
Fix frontmatter parsing on Windows: Line ending detection in cheatsheet frontmatter now inspects file content instead of checking
runtime.GOOS, fixing parsing failures when files have Unix line endings on Windows.
Other changes
- CI modernized: Go 1.26, GitHub Actions v4/v5, Windows added to test matrix
- Dependencies updated (addresses dependabot CVEs in golang.org/x/crypto, golang.org/x/net)
- End-to-end integration tests added for first-run experience
- Dockerfile updated to Go 1.26