Cursor CLI 非互動模式(腳本與 CI)
3 min read
用 --no-interactive 讓 AI 一鍵跑完不等人按鍵,適合腳本與 CI;可選 --model 與 -c 雲端繼續跑。
#cursor#cli#automation#ci
共 2 篇文章
用 --no-interactive 讓 AI 一鍵跑完不等人按鍵,適合腳本與 CI;可選 --model 與 -c 雲端繼續跑。
寫一個 shell 腳本,讓 cursor agent 自動修 code、跑測試,測試失敗就再讓 AI 修,直到測試全過才停下來。