CLI Visual Guide
Visual examples of TRI CLI commands and their output.
Quick Referenceโ
Command Outputsโ
tri constantsโ
$ tri constants
SACRED CONSTANTS
โโโโโโโโโโโโโโโโ
ฯ (PHI) = 1.618033988749895
ฯโปยน (INVERSE) = 0.618033988749895
ฯยฒ (PHI_SQ) = 2.618033988749895
TRINITY = 3.000000000000000
ฯ (PI) = 3.141592653589793
e (E) = 2.718281828459045
Golden Identity: ฯยฒ + 1/ฯยฒ = 3 โ
MU (ฯโปโด) = 0.0381976020901013
CHI (ฯโปยณ) = 0.236067977499790
SIGMA (ฯ) = 1.618033988749895
EPSILON (1/3) = 0.333333333333333
tri phi 10โ
$ tri phi 10
ฯยน = 1.618033988749895
ฯยฒ = 2.618033988749895
ฯยณ = 4.236067977499790
ฯโด = 6.854101966249690
ฯโต = 11.090169943749480
ฯโถ = 17.944271909999590
ฯโท = 29.034441853748630
ฯโธ = 46.978713763748200
ฯโน = 76.013155617496850
ฯยนโฐ = 122.991869381245050
tri genโ
$ tri gen specs/tri/todo.vibee
[VIBEE] Parsing spec: specs/tri/todo.vibee
[VIBEE] Generating Zig code...
[VIBEE] Output: trinity/output/todo.zig
[VIBEE] Generated 2 types, 4 behaviors
[VIBEE] โ Code generation complete
tri serveโ
$ tri serve --port 8899
[TRI] Unified Server v8.27
[TRI] ฯยฒ + 1/ฯยฒ = 3 = TRINITY
[TRI]
[TRI] Starting HTTP server...
[TRI] Host: 127.0.0.1
[TRI] Port: 8899
[TRI] Commands: 139 registered
[TRI]
[TRI] API endpoints:
[TRI] GET /api/health
[TRI] GET /api/version
[TRI] GET /api/status
[TRI] GET /api/commands
[TRI] POST /api/execute
[TRI] GET|POST /graphql
[TRI]
[TRI] โ Server ready at http://127.0.0.1:8899
tri doctorโ
$ tri doctor
TRINITY SYSTEM HEALTH CHECK
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Zig 0.15.0 installed
โ trinity library available
โ VSA module loaded
โ VM module loaded
โ Firebird LLM module loaded
โ VIBEE compiler ready
SYSTEM STATUS: HEALTHY
Modules:
โข VSA : v0.5.0 [SIMD enabled]
โข VM : v2.1.0 [bytecode ready]
โข Firebird : v3.0.0 [BitNet b1.58]
โข VIBEE : v7.0.0 [self-improving]
Performance:
โข SIMD : ARM64 NEON โ
โข JIT : available
โข Memory : 16 GB system
ฯยฒ + 1/ฯยฒ = 3 = TRINITY
Color Scheme Legendโ
| Color | Meaning |
|---|---|
| ๐ข Green | Success, healthy |
| ๐ต Blue | Info, neutral |
| ๐ก Yellow | Warning, caution |
| ๐ด Red | Error, failure |
| ๐ฃ Purple | Sacred, special |
Interactive Demoโ
Live Editor
function CLIDemo() { const [command, setCommand] = React.useState('constants'); const [output, setOutput] = React.useState(''); const commands = { constants: `SACRED CONSTANTS โโโโโโโโโโโโโโโโ ฯ (PHI) = 1.618033988749895 ฯยฒ (PHI_SQ) = 2.618033988749895 TRINITY = 3.000000000000000 Golden Identity: ฯยฒ + 1/ฯยฒ = 3 โ`, phi10: `ฯยน = 1.618033988749895 ฯยฒ = 2.618033988749895 ฯยณ = 4.236067977499790 ... ฯยนโฐ = 122.991869381245050`, help: `TRI Commander v8.27 Commands: 139 available Core: gen Generate code from .vibee spec chat Interactive AI chat serve HTTP API server doctor System health check Math: constants Show sacred constants phi <n> Compute ฯโฟ fib <n> Fibonacci number lucas <n> Lucas L(n) Use 'tri help <command>' for more info.` }; React.useEffect(() => { setOutput(commands[command] || ''); }, [command]); return ( <div style={{fontFamily: 'monospace', fontSize: '13px', background: '#1a1a2e', padding: '1rem', borderRadius: '8px'}}> <div style={{marginBottom: '1rem'}}> <label style={{color: '#888'}}>Select command: </label> <select value={command} onChange={(e) => setCommand(e.target.value)} style={{background: '#16213e', color: '#0f3460', border: '1px solid #0f3460', padding: '4px 8px', borderRadius: '4px', marginLeft: '8px'}} > <option value="constants">tri constants</option> <option value="phi10">tri phi 10</option> <option value="help">tri help</option> </select> </div> <pre style={{color: '#4ecca3', margin: 0, whiteSpace: 'pre-wrap'}}>{output}</pre> </div> ); }
Result
Loading...
Common Patternsโ
Success Patternโ
โ Operation completed successfully
[TRI] All checks passed
Error Patternโ
โ Error: file not found
[TRI] Operation failed
Info Patternโ
โน Info: processing 10 items
[TRI] Status: in progress