← Package directory
Available on winget

Install Cate

A lightweight CLI tool to display file contents with encoding support - like cat with better encoding handling.

Install with winget
winget install --id WenAnLin.Cate
Upgrade
winget upgrade --id WenAnLin.Cate
Uninstall
winget uninstall --id WenAnLin.Cate

About Cate

A lightweight CLI tool to display file contents with encoding support - like cat with better encoding handling.

What's new in 0.4.2

feat: v0.4.2 - 移除管道偵測,簡化顏色控制邏輯 主要變更 移除自動顏色控制功能 - 移除 ColorMode 枚舉(Auto/Always/Never) - 移除 is_redirected_to_file() 函數(TTY 和管道檢測) - 移除 --color 參數 - 簡化語法高亮控制:現在只透過 --no-highlight 參數控制 行為變更 之前 (v0.4.1): - --color auto(預設):終端和管道有顏色,文件重定向無顏色 - --color always:強制輸出顏色 - --color never:禁用顏色 現在 (v0.4.2): - 預設:始終啟用語法高亮(包括管道和文件重定向) - --no-highlight:完全關閉語法高亮 優點 - ✅ 更簡單直觀的使用體驗 - ✅ 移除複雜的 TTY 檢測邏輯(Unix fstat, Windows IsTerminal) - ✅ 減少程式碼複雜度 - ✅ 用戶可以自行決定何時需要語法高亮 文檔更新 - 更新 README.md 移除 --color 參數說明 - 更新 help 信息 - 移除過時的範例和說明 🤖 Generated with Claude Code Co-Authored-By: Claude noreply@anthropic.com 📦 下載 / Downloads 請從下方選擇適合您系統的版本下載。 Please download the appropriate version for your system from below. 🔒 檔案校驗 / File Verification 使用 SHA256SUMS 檔案驗證下載的檔案完整性。 Use the SHA256SUMS file to verify the integrity of downloaded files. 📝 自動生成的變更日誌 / Auto-generated Changelog Full Changelog: v0.4.1...v0.4.2

Read release notes

Version history

Version Updated Notes
0.4.2 Unknown feat: v0.4.2 - 移除管道偵測,簡化顏色控制邏輯 主要變更 移除自動顏色控制功能 - 移除 ColorMode 枚舉(Auto/Always/Never) - 移除 is_redirected_to_file() 函數(TTY 和管道檢測) - 移除 --color 參數 - 簡化語法高亮控制:現在只透過 --no-highlight 參數控制 行為變更 之前 (v0.4.1): - --color auto(預設):終端和...