CLI Overview

The fairvisor CLI is distributed as a container image for operator and CI usage.

Installation

  • CLI image: ghcr.io/fairvisor/fairvisor-cli:<tag>
docker pull ghcr.io/fairvisor/fairvisor-cli:v0.1.0

Usage

docker run --rm -v "$PWD:/work" -w /work ghcr.io/fairvisor/fairvisor-cli:v0.1.0 help
docker run --rm -v "$PWD:/work" -w /work ghcr.io/fairvisor/fairvisor-cli:v0.1.0 validate policy.json
docker run --rm -v "$PWD:/work" -w /work ghcr.io/fairvisor/fairvisor-cli:v0.1.0 test policy.json

Source-based execution remains available for development:

./bin/fairvisor version

Commands

fairvisor <command> [options]

Commands:
  init       Scaffold a policy.json and edge.env.example
  validate   Validate a policy bundle file
  test       Dry-run the rule engine against sample requests
  connect    Register this edge with the SaaS control plane
  status     Query the running edge health and metrics
  logs       Filter structured log output from stdin
  version    Print the CLI version
  help       Print this message