CLI Reference¶
Current reference for the unified oryn CLI.
Synopsis¶
Modes:
headlessembeddedremote
Global Options¶
| Option | Description |
|---|---|
--file <PATH> |
Run commands from a script file instead of interactive REPL |
--help, -h |
Show help |
--version, -V |
Show version |
Modes¶
headless¶
Run Oryn with Chromium via CDP.
| Option | Description |
|---|---|
--visible |
Launch browser with a visible window (not headless) |
Examples:
embedded¶
Run Oryn with WebDriver/COG backend.
| Option | Description |
|---|---|
--driver-url <URL> |
Connect to an external WebDriver endpoint |
Examples:
remote¶
Run Oryn as a WebSocket server for the remote browser extension (extension/).
| Option | Default | Description |
|---|---|---|
--port <PORT> |
9001 |
WebSocket port |
Examples:
Note
Current server binding is 127.0.0.1 with configurable port only.
Environment Variables¶
| Variable | Description |
|---|---|
RUST_LOG |
Rust log level |
CHROME_BIN |
Custom Chromium/Chrome executable path for headless mode |
ORYN_USER_DATA_DIR |
Reuse a specific Chromium profile directory |
ORYN_ENABLE_NETWORK_LOG |
Enable network logging when set to 1/true/yes/on |
REPL and Script Mode¶
Interactive REPL¶
File Execution¶
--file executes non-empty, non-comment lines from the script.