How xbox/cli works
XBOX CLI is a terminal tool for building, releasing, and operating Xbox games, with a separate set of PlayFab title-management commands. The main user workflow is to sign in, choose a saved Partner Center seller context, then run game or operational commands; results are rendered in terminal, table, or JSON formats. The graph preserves the README’s Xbox and PlayFab capabilities. Several command factories were not sampled, so their detailed internal calls are omitted; edges reflect only documented workflows or indexed source references.
Main entry points: Program.cs CLI entry · PlayFabApiClient.cs PlayFab API client · AuthenticationService.cs Authentication · XboxPartnerClient.cs Partner Center client
Components 19
CLI entry and output
- CLI entry
src/XboxDevCLI/Program.cs - Command metadata
src/XboxDevCLI/CommandLine/CommandMetadata.cs - Output formatting
src/XboxDevCLI/Output/OutputOptions.cs - Terminal views
src/XboxDevCLI/Terminal/TerminalView.cs
Identity and context
- Auth commands
src/XboxDevCLI/Commands/AuthCommandFactory.cs - Authentication
src/XboxDevCLI/Services/AuthenticationService.cs - Saved context
src/XboxDevCLI/Services/ContextResolver.cs
Xbox operations
- Xbox game and account commands
src/XboxDevCLI/Commands/GameCommandFactory.cs - Sandbox and PC commands
src/XboxDevCLI/Commands/SandboxCommandFactory.cs - Test account commands
src/XboxDevCLI/Commands/TestAccountCommandFactory.cs - Playtest commands
src/XboxDevCLI/Commands/PlaytestCommandFactory.cs - Xbox services configuration
src/XboxDevCLI/Commands/XboxLiveCommandFactory.cs
PlayFab operations
- PlayFab commands
src/XboxDevCLI/PlayFab/Commands/PlayFabCommandFactory.cs
Service access
- Partner Center client
src/XboxDevCLI/Services/XboxPartnerClient.cs - PlayFab API client
src/XboxDevCLI/Services/PlayFabApiClient.cs - Partner Center
- PlayFab service
- Invocation telemetry
src/XboxDevCLI/Telemetry/TelemetryRecorder.cs
Other components
- Terminal user
Connections 19
- Terminal user → CLI entry: runs commands
README.md - CLI entry → Auth commands: offers login
src/XboxDevCLI/Program.cs - Auth commands → Authentication: authenticates
- Terminal user → Saved context: sets seller
README.md - Terminal user → Xbox game and account commands: lists games
README.md - Terminal user → Sandbox and PC commands: manages sandboxes
README.md - Terminal user → Test account commands: manages batches
README.md - Terminal user → Playtest commands: reviews playtests
README.md - Terminal user → Xbox services configuration: publishes configuration
README.md - Terminal user → PlayFab commands: runs title commands
README.md - Partner Center client → Partner Center: sends requests
- PlayFab API client → PlayFab service: sends API calls
- PlayFab commands → PlayFab API client: uses client
- Partner Center client → Authentication: acquires tokens
src/XboxDevCLI/Services/XboxPartnerClient.cs - PlayFab API client → Authentication: acquires tokens
src/XboxDevCLI/Services/PlayFabApiClient.cs - CLI entry → Command metadata: resolves commands
src/XboxDevCLI/Program.cs - Output formatting → Command metadata: reads declarations
src/XboxDevCLI/Output/OutputOptions.cs - Terminal views → Output formatting: renders tables
src/XboxDevCLI/Terminal/TerminalView.cs - CLI entry → Invocation telemetry: starts invocation
src/XboxDevCLI/Program.cs