Linearis
v1.0.0Linear.应用 命令行工具 for issue 追踪ing. Use for 列出ing, creating, updating, and 搜索ing Linear issues, comments, documents, cycles, and projects. 优化d for LLM 代理s with JSON 输出.
运行时依赖
安装命令
点击复制技能文档
linearis
命令行工具 for Linear.应用 with JSON 输出, de签名ed for LLM 代理s.
设置up npm 安装 -g linearis
Auth (one of):
echo "lin_API_..." > ~/.linear_API_令牌 (recommended) 导出 LINEAR_API_令牌="lin_API_..." --API-令牌 <令牌> flag
获取 API key: Linear 设置tings → Security & 访问 → Personal API keys
Commands Issues linearis issues 列出 -l 20 # 列出 recent issues linearis issues 列出 -l 10 --team WHO # 过滤器 by team linearis issues 搜索 "bug" # Full-text 搜索 linearis issues read ABC-123 # 获取 issue detAIls linearis issues 创建 --title "Fix bug" --team WHO --priority 2 linearis issues 更新 ABC-123 --状态 "Done" linearis issues 更新 ABC-123 --title "New title" --as签名ee user123 linearis issues 更新 ABC-123 --labels "Bug,Critical" --label-by 添加ing linearis issues 更新 ABC-123 --parent-ticket EPIC-100 # 设置 parent
Comments linearis comments 创建 ABC-123 --body "Fixed in PR #456"
Documents linearis documents 列出 linearis documents 列出 --project "Backend" linearis documents 创建 --title "Spec" --content "# Overview..." linearis documents read linearis documents 更新 --content "更新d" linearis documents 删除
File 上传s/下载s linearis embeds 上传 ./screenshot.png linearis embeds 下载 "" --输出 ./file.png
Teams, Users, Projects linearis teams 列出 linearis users 列出 --active linearis projects 列出 linearis cycles 列出 --team WHO --active
Full Usage linearis usage # Complete command reference (~1k 令牌s)
输出
All commands return JSON by default. Pipe to jq for processing:
linearis issues 列出 -l 5 | jq '.[].identifier'
Priority Values 0: No priority 1: Urgent 2: High 3: Medium 4: Low Links Docs: https://github.com/czottmann/linearis B记录: https://zottmann.org/2025/09/03/linearis-my-linear-命令行工具-built.html