对于 AI 代理:可在 https://www.mongodb.com/zh-cn/docs/llms.txt 获取文档索引—通过在任何 URL 路径后添加 .md 可获取所有页面的 Markdown 版本。

agentengine completion bash

为 bash 生成自动完成脚本

为 bash shell 生成自动完成脚本。

此脚本依赖于 bash-completion 包。如果尚未安装,您可以通过操作系统的包经理进行安装。

要在当前 Shell 会话中加载补全:

source <(agentengine completion bash)

要为每个新会话加载完成,请执行一次:

agentengine completion bash > /etc/bash_completion.d/agentengine
agentengine completion bash > $(brew --prefix)/etc/bash_completion.d/agentengine

您需要启动新的 shell 才能使此设置生效。

agentengine completion bash
-h, --help help for bash --no-descriptions disable completion descriptions
--log-file string override log file path --log-level string file log verbosity (error|warn|info|debug) (default "info") --no-log disable file logging-q, --quiet silence stderr below error-v, --verbose count raise stderr verbosity (-v info, -vv debug)
给本页内容打分