CLI Documentation¶
Complete documentation for the Open Resource Broker command-line interface.
Quick Reference¶
- CLI Reference - Complete command and flag reference
- Provider Override - Using
--providerflag functionality - Multi-Provider Templates - Multi-provider template generation
Detailed Guides¶
- Template Commands - Template management operations
- Scheduler Commands - Scheduler management operations
Key Features¶
Global Overrides¶
--scheduler- Override scheduler strategy for any command--provider- Override provider instance for any command--format- Control output format (json, yaml, table, list)
Argument Patterns¶
- Positional Arguments -
orb templates show template-id - Flag Arguments -
orb templates show --template-id template-id - Mixed Usage - Both patterns work for most commands
Multi-Provider Support¶
- Default Generation -
orb templates generate(all active providers) - Specific Provider -
orb templates generate --provider aws-prod - Specific API -
orb templates generate --provider-api EC2Fleet
Common Commands¶
Setup and Configuration¶
orb init --scheduler hostfactory --provider aws --region us-east-1
orb config show --format yaml
orb system health --detailed
Template Management¶
orb templates generate --all-providers
orb templates list --format table
orb templates show aws-basic --format yaml
Machine Operations¶
orb machines request aws-basic 5
orb machines list --status running --format table
orb requests status req-123
Provider Operations¶
orb providers list --detailed --format table
orb --provider aws-prod providers health
orb --provider aws-dev templates generate
Getting Started¶
-
Initialize Configuration
-
Generate Templates
-
List Available Templates
-
Request Machines
-
Check Status
Advanced Usage¶
Environment-Specific Operations¶
# Development
orb --provider aws-dev templates generate --provider-api SpotFleet
orb --provider aws-dev machines request spot-template 5
# Production
orb --provider aws-prod templates generate --provider-api EC2Fleet
orb --provider aws-prod machines request prod-template 10
Scheduler Comparison¶
# HostFactory format (IBM Symphony compatible)
orb --scheduler hostfactory templates list --format json
# Default format (CLI-friendly)
orb --scheduler default templates list --format table
Batch Operations¶
# Multiple request status checks
orb requests status req-123 req-456 req-789
# Multiple machine operations
orb machines return i-123 i-456 i-789
See Also¶
- User Guide - General usage documentation
- Configuration Guide - Configuration management
- API Reference - REST API documentation
- MCP Integration - Model Context Protocol integration