正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

glab duo cli

Run the GitLab Duo CLI (Beta)

Synopsis

Run the GitLab Duo CLI.

Use the GitLab Duo CLI to bring the GitLab Duo Agent Platform to your terminal. Ask GitLab Duo questions about your codebase and use it to autonomously perform actions on your behalf.

When you use the GitLab Duo CLI in the GitLab CLI, glab handles authentication for you automatically. You only need to authenticate once.

Prerequisites:

Configuration options:

  • duo_cli_auto_run: Skip the run confirmation prompt.
  • duo_cli_auto_download: Skip the download confirmation prompt.

All other arguments and flags are passed through to the GitLab Duo CLI binary.

For more information, see the GitLab Duo CLI documentation.

This feature is in beta and might not be ready for production use. It might be unstable and breaking changes can occur outside of major releases. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

glab duo cli [command] [flags]

Examples

# Run the GitLab Duo CLI
glab duo cli

# Pass any command or flag through to the Duo CLI binary (for example: version, run, help)
glab duo cli <command>

# Show this help
glab duo cli --help

# Show Duo CLI help
glab duo cli help

# Run without prompts (for use in scripts and non-interactive environments)
glab duo cli --yes

# Install the Duo CLI binary
glab duo cli --install

# Install the Duo CLI binary without prompts
glab duo cli --install --yes

# Check for and install updates
glab duo cli --update

Options

      --install   Install the Duo CLI binary without running it. (default false)
      --update    Check for and install updates to the binary. (default false)
  -y, --yes       Skip confirmation prompts. (default false)

Options inherited from parent commands

  -h, --help   Show help for this command.