# dunebox-init

### Arguments

<table><thead><tr><th width="235">Argument</th><th width="119" align="center">Type</th><th width="99" align="center">Optional</th><th>Interpretation</th></tr></thead><tbody><tr><td><code>--server</code></td><td align="center"><code>String</code></td><td align="center">Yes</td><td>URL of Dunebox server. Overrides the configured value if provided. </td></tr><tr><td><code>--access-key</code></td><td align="center"><code>String</code></td><td align="center">Yes</td><td>Your access key. Overrides configured value if provided. </td></tr><tr><td><code>--secret-key</code></td><td align="center"><code>String</code></td><td align="center">Yes</td><td>Your secret key. Overrides configured value if provided.</td></tr><tr><td><code>--avd</code></td><td align="center"><code>String</code></td><td align="center">No</td><td>UID of the AVD to launch</td></tr><tr><td><code>--app</code></td><td align="center"><code>String</code></td><td align="center">Yes</td><td>UID of the APK to launch with the AVD</td></tr><tr><td><code>--no-launch</code></td><td align="center"><code>flag</code></td><td align="center">Yes</td><td>Suppresses opening of the browser window. Equivalent to <em>headless mode</em>.</td></tr><tr><td><code>--await-online</code></td><td align="center"><code>flag</code></td><td align="center">Yes</td><td>Block return till AVD is online</td></tr><tr><td><code>--cold</code></td><td align="center"><code>flag</code></td><td align="center">Yes</td><td>Force cold boot</td></tr><tr><td><code>--throttle-factor</code></td><td align="center"><code>float32</code></td><td align="center">Yes</td><td>Initial throttle factor, should be between 1.0 and 50.0.  Higher throttle factor is equivalent to a lower frame rate.</td></tr><tr><td><code>--no-cache</code></td><td align="center"><code>flag</code></td><td align="center">Yes</td><td>Disable cache partition</td></tr><tr><td><code>--no-snapshot-save</code></td><td align="center"><code>flag</code></td><td align="center">Yes</td><td>Disable saving snapshot on termination</td></tr></tbody></table>

### Successful Output

If the *--no-launch* flag is passed, the result is a JSON with the following fields:

<table><thead><tr><th width="210" align="center">Field</th><th width="100" align="center">Type</th><th>Interpretation</th></tr></thead><tbody><tr><td align="center"><code>url</code></td><td align="center"><code>String</code></td><td>URL of the dunebox UID</td></tr><tr><td align="center"><code>auto_session_id</code></td><td align="center"><code>u32</code></td><td>Auto Session ID (asid) for the session</td></tr></tbody></table>

If it is not, there is no output from the CLI. The launched browser window may emit some messages to the console.&#x20;
