RepoGate.Agent.CLI
1.0.1
dotnet tool install --global RepoGate.Agent.CLI --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local RepoGate.Agent.CLI --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=RepoGate.Agent.CLI&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package RepoGate.Agent.CLI --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RepoGate CLI
RepoGate is an intelligent repository analysis agent that understands your codebase, discovers user journeys, generates Playwright-ready test scenarios, and scores your test coverage — all powered by AI.
Installation
dotnet tool install --global RepoGate.Agent.CLI
Quick Start
# Analyze a local repository
repogate analyze --path ./my-repo --server-url https://your-repogate-server.com --api-key YOUR_API_KEY
# Get a coverage report
repogate report --repo-id REPO_ID --server-url https://your-repogate-server.com --api-key YOUR_API_KEY
# Export analysis results (features, journeys, test cases)
repogate export --repo-id REPO_ID --server-url https://your-repogate-server.com --api-key YOUR_API_KEY
# View brain insights
repogate insights --repo-id REPO_ID --server-url https://your-repogate-server.com --api-key YOUR_API_KEY
Commands
| Command | Description |
|---|---|
analyze |
Scan a local repository and submit results to the RepoGate server for AI-powered analysis |
report |
Fetch the latest coverage report and score for a repository |
export |
Export features, user journeys, and test cases as JSON |
insights |
View what the AI brain understood about the repository |
Configuration
The CLI resolves configuration in this order (highest priority first):
- Command-line arguments —
--server-url,--api-key,--path - Environment variables —
REPOGATE_SERVER_URL,REPOGATE_API_KEY - Config file —
.repogate.jsonin the current directory - Defaults —
https://localhost:5001
.repogate.json example
{
"serverUrl": "https://your-repogate-server.com",
"apiKey": "your-api-key"
}
CI/CD Integration
Azure DevOps
- script: |
dotnet tool install --global RepoGate.Agent.CLI
repogate analyze \
--path $(Build.SourcesDirectory) \
--server-url $(REPOGATE_SERVER_URL) \
--api-key $(REPOGATE_API_KEY)
displayName: 'Run RepoGate Analysis'
GitHub Actions
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: RepoGate Analysis
env:
REPOGATE_API_KEY: ${{ secrets.REPOGATE_API_KEY }}
REPOGATE_SERVER_URL: ${{ secrets.REPOGATE_SERVER_URL }}
run: |
dotnet tool install --global RepoGate.Agent.CLI
repogate analyze \
--path ${{ github.workspace }} \
--server-url $REPOGATE_SERVER_URL \
--api-key $REPOGATE_API_KEY
Jenkins
pipeline {
agent any
environment {
REPOGATE_API_KEY = credentials('repogate-api-key')
REPOGATE_SERVER_URL = credentials('repogate-server-url')
}
stages {
stage('RepoGate Analysis') {
steps {
sh '''
dotnet tool install --global RepoGate.Agent.CLI || true
export PATH="$PATH:$HOME/.dotnet/tools"
repogate analyze \
--path ${WORKSPACE} \
--server-url ${REPOGATE_SERVER_URL} \
--api-key ${REPOGATE_API_KEY}
'''
}
}
}
}
GitLab CI
repogate:
stage: test
image: mcr.microsoft.com/dotnet/sdk:8.0
script:
- dotnet tool install --global RepoGate.Agent.CLI
- export PATH="$PATH:$HOME/.dotnet/tools"
- repogate analyze
--path $CI_PROJECT_DIR
--server-url $REPOGATE_SERVER_URL
--api-key $REPOGATE_API_KEY
Requirements
- .NET SDK 8.0 or later
- A running RepoGate server instance
- An API key (create one in the RepoGate dashboard under Settings)
How It Works
- The CLI scans your local repository and builds a compressed skeleton representation
- The skeleton is submitted to your RepoGate server
- The server's AI brain analyzes the code: extracts features, discovers user journeys, and generates Playwright-ready test scenarios
- Results are available in the RepoGate dashboard and via the CLI
report/export/insightscommands
License
Proprietary — All rights reserved.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.