A standalone command-line client for managing issues on an ErrorLoop server.
- PHP 8.3+
- Composer
composer global require errorloop/cliMake sure ~/.composer/vendor/bin or ~/.config/composer/vendor/bin is in your PATH.
composer require errorloop/cli
./vendor/bin/errorloop issues --status openRun the config command once:
errorloop config --endpoint https://er.ma.rs --token your-agent-tokenThis writes ~/.config/errorloop/config.json with 0600 permissions.
You can also use environment variables, which take precedence over the config file:
export ERRORLOOP_ENDPOINT=https://er.ma.rs
export ERRORLOOP_AGENT_TOKEN=your-agent-tokenThe agent token is configured on the ErrorLoop server, not per-project.
Create a project (returns the API key for the Laravel SDK):
errorloop create-project babyprocareList projects:
errorloop projectsList open issues:
errorloop issues --status openShow a single issue:
errorloop issue 123 --for-agentClaim an issue to work on it:
errorloop claim 123Record a fix attempt:
errorloop fix-attempted 123 --commit abc123 --agent $(whoami)Record a deploy:
errorloop deploy --project babyprocare --sha abc123Verify an issue is resolved:
errorloop verify 123MIT