Using Built-in Help
Global Help
Every command in the Orka CLI has built-in help documentation that you can access using the--help or -h flag.
Command Structure
The help output for each command typically includes:- Synopsis: A brief description of what the command does
- Usage: The command syntax with required and optional parameters
- Options: Available flags and their descriptions
- Examples: Common usage examples
- Sub-commands: Related commands (if applicable)
Finding Commands
Start with the main help to browse available command groups:Understanding output formats
Many Orka CLI commands support multiple output formats to suit different use cases.Available Output Formats
| Format | Flag | Description | Best For |
|---|---|---|---|
| Table | --output table (default) | Human-readable table with essential information | Terminal viewing, quick status checks |
| Wide | --output wide | Extended table with additional columns and details | Detailed troubleshooting, viewing all properties |
| JSON | --output json | Machine-readable JSON format | Scripting, automation, parsing with jq |
Using Output Formats
Commands Supporting Output Formats
The following command groups support the--output flag:
orka3 vm listorka3 vm-config listorka3 node listorka3 namespace listorka3 image listorka3 imagecache listorka3 imagecache infoorka3 iso listorka3 serviceaccount listorka3 rolebinding list-subjectsorka3 registrycredential list
Working with JSON Output
JSON output is particularly useful for automation and scripting. You can use tools likejq to parse and filter the results:
Common help patterns
Discovering Available Commands
Understanding Flags
Finding Examples
Most command help includes an “Examples” section with common use cases:Quick Tips
Command Aliases
Many commands have short aliases for faster typing:| Full Command | Alias |
|---|---|
orka3 vm-config | orka3 vmc |
orka3 serviceaccount | orka3 sa |
orka3 rolebinding | orka3 rb |
orka3 registrycredential | orka3 regcred |
orka3 imagecache | orka3 ic |
Flag Shortcuts
| Full Flag | Short Flag |
|---|---|
--help | -h |
--output | -o |
--namespace | -n |
--image | -i |
--cpu | -c |
--memory | -m |
Checking Async Operations
Some operations are asynchronous. Here’s how to check their status:- Image operations:
orka3 image list IMAGE_NAME - ISO operations:
orka3 iso list ISO_NAME - Image caching:
orka3 imagecache info IMAGE_NAME - Image push:
orka3 vm get-push-status JOB_NAME

