跳轉至

CLI 概述

anote CLI 將 AI 協助直接帶入您的終端機。

安裝

bash npm install -g @anote-ai/anote

核心命令

命令 描述
anote ask <question> 詢問您的程式碼
anote fix [--loop] AI 協助的錯誤修正
anote explain 解釋檔案或選擇內容
anote review [--pr N] 程式碼審查或 PR 審查
anote test 生成或執行測試
anote refactor 重構程式碼
anote index 建立語意搜尋索引
anote search <query> 語意程式碼搜尋
anote commit 生成提交訊息
anote changelog 生成變更紀錄
anote docs 生成文件
anote migrate AI 協助的遷移
anote security 安全性審核
anote perf 性能分析
anote doctor 檢查環境健康
anote init 設定 Anote
anote config 管理配置

請參閱 命令 以獲取完整用法。