Skip to main content

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:
Then drill down into specific command groups:

Understanding Output Formats

Many Orka CLI commands support multiple output formats to suit different use cases.

Available Output Formats

Using Output Formats

Commands Supporting Output Formats

The following command groups support the --output flag:
  • orka vm list
  • orka vm-config list
  • orka node list
  • orka namespace list
  • orka image list
  • orka imagecache list
  • orka imagecache info
  • orka3 iso list (removed in Orka 4.0)
  • orka serviceaccount list
  • orka rbac list-subjects (Orka 4.0 or later)
  • orka rolebinding list-subjects (deprecated in Orka 4.0)
  • orka registrycredential list
  • orka emulator list
  • orka emulator-config list (Orka 4.0 or later)
  • orka vm get-push-status

Working with JSON Output

JSON output is particularly useful for automation and scripting. You can use tools like jq 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:

Flag Shortcuts

Checking Async Operations

Some operations are asynchronous. Here’s how to check their status:
  • Image operations: orka image list IMAGE_NAME
  • ISO operations (Orka 3.6 and earlier): orka3 iso list ISO_NAME
  • Image caching: orka imagecache info IMAGE_NAME
  • Image push: orka vm get-push-status JOB_NAME