Rexo.Cli
0.3.2
dotnet tool install --global Rexo.Cli --version 0.3.2
dotnet new tool-manifest
dotnet tool install --local Rexo.Cli --version 0.3.2
#tool dotnet:?package=Rexo.Cli&version=0.3.2
nuke :add-package Rexo.Cli --version 0.3.2
Rexo CLI (rx)
Rexo is a config-driven repository automation CLI. It runs the same workflow model locally and in CI from a repository config file.
Install
dotnet tool install --global Rexo.Cli
To update:
dotnet tool update --global Rexo.Cli
Run Without Installing (dnx)
If you prefer not to install globally, run Rexo directly from NuGet:
dotnet dnx Rexo.Cli -- --help
dotnet dnx Rexo.Cli -- init --yes --stack auto
Use -- after Rexo.Cli so remaining arguments are passed to rx.
Quick Start
- Run
rx init(defaults to.rexo/rexo.json). - Add commands and steps.
- Run commands with
rx. Example:
rx init
rx list
Non-interactive example with policy:
rx init --yes --stack auto --with-policy --policy dotnet
By default, init uses a local schema file to avoid editor trust prompts:
rx init --yes --schema-source local
Use remote schema URL instead:
rx init --yes --schema-source remote
Non-interactive example that also downloads AI instructions into the repo:
rx init --yes --with-instructions
Custom destination for instructions file:
rx init --yes --with-instructions --instructions-path .github/instructions/rexo.instructions.md
Docker artifact scaffolding
When rx init detects a Dockerfile in the repository, it automatically scaffolds a minimal docker artifact in the generated config (defaulting to yes in interactive mode, and opting in automatically in non-interactive mode).
To opt out in non-interactive mode:
rx init --yes --without-docker-artifact
To force docker artifact scaffolding even when no Dockerfile is detected:
rx init --yes --with-docker-artifact
--with-docker-artifactand--without-docker-artifactcannot be combined — passing both is an error. Minimal example:
{
"$schema": "https://raw.githubusercontent.com/agile-north/rexo/schema/v1.0/rexo.schema.json",
"schemaVersion": "1.0",
"name": "my-repo",
"commands": {
"build": {
"description": "Build the project",
"options": {},
"steps": [
{ "run": "dotnet build -c Release" }
]
}
},
"aliases": {}
}
Run it:
rx build
Common Commands
rx list
rx explain build
rx config sources
rx config resolved --json
rx doctor
Configuration Discovery
Rexo looks for configuration in this order:
rexo.json,rexo.yaml,rexo.yml.rexo/rexo.json,.rexo/rexo.yaml,.rexo/rexo.yml- Backward-compatible fallback:
repo.json|yaml|yml(root and.repo/) Policy files are discovered in root,.rexo/, and legacy.repo/locations.
Notes
- Use
rxdirectly to run configured commands. - Use
rx run <command>if you want explicit run semantics. - Use
--jsonor--json-file <path>for machine-readable output. - Full JSON and manifest field semantics: Output Contract.
Documentation
| Resource | Link |
|---|---|
| GitHub repository | https://github.com/agile-north/rexo |
| Configuration reference | https://github.com/agile-north/rexo/blob/v0.3.2/docs/CONFIGURATION.md |
| Rexo config schema | https://raw.githubusercontent.com/agile-north/rexo/schema/v1.0/rexo.schema.json |
| Policy schema | https://raw.githubusercontent.com/agile-north/rexo/schema/v1.0/policy.schema.json |
| Architecture overview | https://github.com/agile-north/rexo/blob/v0.3.2/docs/ARCHITECTURE.md |
| Contributing / dev guide | https://github.com/agile-north/rexo/blob/v0.3.2/docs/DEVELOPMENT.md |
AI assistant tip:
rx init --with-instructionsdownloadsrexo.instructions.mdinto.github/instructions/rexo.instructions.mdby default. Use--instructions-pathto choose another repo-relative destination.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.3.2 | 131 | 8/7/2026 |
| 0.3.0 | 111 | 8/7/2026 |
| 0.3.0-alpha.55 | 63 | 8/7/2026 |
| 0.3.0-alpha.53 | 75 | 8/5/2026 |
| 0.3.0-alpha.51 | 72 | 8/5/2026 |
| 0.3.0-alpha.47 | 65 | 8/5/2026 |
| 0.3.0-alpha.45 | 67 | 7/16/2026 |
| 0.3.0-alpha.44 | 77 | 7/9/2026 |
| 0.3.0-alpha.41 | 71 | 7/7/2026 |
| 0.3.0-alpha.35 | 71 | 7/6/2026 |
| 0.3.0-alpha.31 | 65 | 7/5/2026 |
| 0.3.0-alpha.29 | 61 | 7/5/2026 |
| 0.3.0-alpha.27 | 75 | 7/5/2026 |
| 0.3.0-alpha.24 | 73 | 7/5/2026 |
| 0.3.0-alpha.19 | 70 | 6/6/2026 |
| 0.3.0-alpha.17 | 75 | 6/6/2026 |
| 0.3.0-alpha.15 | 68 | 6/5/2026 |
| 0.3.0-alpha.13 | 66 | 6/5/2026 |
| 0.3.0-alpha.11 | 67 | 6/5/2026 |
| 0.3.0-alpha.5 | 64 | 6/4/2026 |