CLI Commands
AutoCI is your CI copilot that tells you why your build failed and gives you the fix — in seconds.
Command Overview
The AutoCI CLI provides powerful commands to analyze and fix CI failures:
Authentication
- login - Authenticate with your AutoCI account
- logout - Sign out of your AutoCI account
- profile - Manage multiple AutoCI accounts
CI Analysis Commands
- ci failure-cause - Analyze CI failures for any branch or commit
- pr failure-cause - Analyze pull request CI failures
Quick Start
-
Install AutoCI:
curl -fsSL https://autoci.ai/install.sh | sh
-
Login to your account:
autoci login
-
Analyze a failing PR:
autoci pr failure-cause https://github.com/owner/repo/pull/123
Global Options
All AutoCI commands support these global options:
--help
,-h
- Show help for any command--version
,-v
- Display the AutoCI version--debug
- Enable debug output--quiet
,-q
- Suppress non-essential output
Getting Help
To get help for any command, use:
autoci [command] --help
For example:
autoci pr failure-cause --help