github cheat/cheat 4.5.1

latest releases: 4.7.1, 4.7.0, 4.6.0...
9 hours ago

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 --init output (#773): cheat --init now 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 cheat to 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

Don't miss a new cheat release

NewReleases is sending notifications on new releases.