Skip to content

v0.3.0

Choose a tag to compare

@hczs hczs released this 29 May 02:19
· 45 commits to master since this release
8b6a165

🚀 新功能

search 命令增强

  • 多关键词 OR 搜索fuckssh search web prod 任一关键词命中即匹配
  • 字段过滤 flag--user--host--port 精确收窄结果
  • 结果高亮:TTY 下自动用粗体黄色高亮匹配关键词,管道输出无颜色

用法示例:

fuckssh search srv1 example          # OR 匹配
fuckssh search --user root srv       # 关键词 + 字段过滤
fuckssh search --port 2222 prod      # 按端口过滤

🔧 改进

  • 重构:合并多组碎片文件,减少文件数
  • 文档:新增 list/search/add 命令执行时序图
  • CI:测试矩阵加 Windows、go mod verify
  • 底层包错误信息英文化(Go 惯例)

📦 安装

macOS / Linux (一键脚本)

curl -fsSL https://raw.githubusercontent.com/hczs/fuckssh/master/scripts/install.sh | bash

Windows (PowerShell)

irm https://raw.githubusercontent.com/hczs/fuckssh/master/scripts/install.ps1 | iex

Go 安装

go install github.com/fuckssh/fuckssh/cmd/fuckssh@v0.3.0