Skip to content

高级功能

全局选项

所有命令支持:

  • -t, --target <repo> — 指定仓库(名称、URL 或本地路径)
  • -l, --local — 保存到 ai-rules-sync.local.json(私有)
bash
ais cursor add react -t company-rules --local

查询命令

bash
ais status              # 检查项目状态
ais search react        # 搜索规则
ais check               # 检查仓库是否落后
ais check --user        # 检查用户配置仓库

# JSON 输出(脚本/CI)
ais ls --json
ais status --json
ais search react --json

更多

Released under the Unlicense.