@orchenginex/cli
v1.0.0
Published
OrchEngineX CLI — failure simulation and architecture analysis from the command line
Maintainers
Readme
@orchenginex/cli
OrchEngineX CLI (
oex) — failure simulation & architecture analysis from the command line.
Install
npm install -g @orchenginex/cliQuick Start
# Authenticate
oex login --token <YOUR_API_TOKEN>
# Scaffold a project
oex init --template microservices
# Validate architecture
oex validate architecture.json
# Run a simulation
oex simulate architecture.json \
--traffic 25000 \
--failure-node api-gateway \
--latency 200
# Export results
oex export sim <RUN_ID> --output results.json
# Visualize
oex visualize graph architecture.json --output topology.png
# Run experiments
oex experiments run architecture.json --matrix experiment.jsonCommands
| Command | Description |
|---------|-------------|
| oex login | Authenticate via browser or API token |
| oex init | Scaffold a new project with templates |
| oex validate | Validate architecture JSON against schema |
| oex simulate | Run failure simulations |
| oex export | Export architectures, results, fragility data |
| oex visualize | Generate topology graphs, heatmaps, trend charts |
| oex experiments | Manage batched simulation experiments |
Environment Variables
| Variable | Description |
|----------|-------------|
| OEX_API_TOKEN | API token (overrides stored credentials) |
| OEX_API_URL | API base URL (default: https://api.orchenginex.com) |
License
MIT
