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
                    
if you are setting up this repo
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
                    
nuke :add-package RepoGate.Agent.CLI --version 1.0.1
                    

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):

  1. Command-line arguments--server-url, --api-key, --path
  2. Environment variablesREPOGATE_SERVER_URL, REPOGATE_API_KEY
  3. Config file.repogate.json in the current directory
  4. Defaultshttps://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

  1. The CLI scans your local repository and builds a compressed skeleton representation
  2. The skeleton is submitted to your RepoGate server
  3. The server's AI brain analyzes the code: extracts features, discovers user journeys, and generates Playwright-ready test scenarios
  4. Results are available in the RepoGate dashboard and via the CLI report/export/insights commands

License

Proprietary — All rights reserved.

Product 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.

Version Downloads Last Updated
1.0.1 39 2/19/2026
1.0.0 41 2/19/2026