|
17 | 17 | | `--no-corrupt-dialog` | Will show a verbose error message (the error report) instead of a simplified message dialog | 3.2.1+ | |
18 | 18 | | `--[enable\|disable]-secure-setting-for-user username key` | Enables/disables the given secure setting for the given key<sup>2</sup> and username. Requires administrator rights. | 3.2.1+ | |
19 | 19 | | `--[enable\|disable]-secure-setting key` | Enables/disables the given secure setting<sup>2</sup> for current user. This will generate a UAC prompt | 3.2.1+ | |
| 20 | +| `--headless` | Starts the Avalonia host as a pure automation daemon with **no UI** and no requirement for a working graphical environment. Compatible with `--background-api-*` transport arguments. | 2026.1+ | |
| 21 | +| `--automation status` | Queries the local automation service and returns machine-readable status, including the configured background API transport | 2026.1+ | |
| 22 | +| `--automation get-version` | Reads the local automation service build number through the background API | 2026.1+ | |
| 23 | +| `--automation get-updates` | Reads the currently available updates through the local automation service and returns structured JSON | 2026.1+ | |
| 24 | +| `--automation list-installed --manager name` | Lists installed packages for the selected manager through the automation service and returns structured JSON | 2026.1+ | |
| 25 | +| `--automation search-packages --manager name --query text [--max-results n]` | Searches packages through the automation service and returns structured JSON | 2026.1+ | |
| 26 | +| `--automation install-package --manager name --package-id id [--version v] [--scope scope] [--pre-release]` | Installs a package through the automation service and waits for completion | 2026.1+ | |
| 27 | +| `--automation open-window` | Asks the running UniGetUI instance to show the main window | 2026.1+ | |
| 28 | +| `--automation open-updates` | Asks the running UniGetUI instance to show the Updates page | 2026.1+ | |
| 29 | +| `--automation show-package --package-id id --package-source source` | Opens the package details flow for the specified package | 2026.1+ | |
| 30 | +| `--automation update-all` | Queues updates for all packages currently shown as upgradable | 2026.1+ | |
| 31 | +| `--automation update-manager --manager name` | Queues updates for all packages handled by the specified manager | 2026.1+ | |
| 32 | +| `--automation update-package --manager name --package-id id` | Updates a specific package through the automation service and waits for completion | 2026.1+ | |
| 33 | +| `--automation uninstall-package --manager name --package-id id [--scope scope]` | Uninstalls a package through the automation service and waits for completion | 2026.1+ | |
| 34 | +| `--background-api-transport {tcp\|named-pipe}` | Selects which local HTTP transport UniGetUI uses for the background API when the app starts | 2026.1+ | |
| 35 | +| `--background-api-port port` | Overrides the localhost TCP port used by the background API when `--background-api-transport tcp` is active | 2026.1+ | |
| 36 | +| `--background-api-pipe-name name` | Overrides the Windows named pipe name used by the background API when `--background-api-transport named-pipe` is active | 2026.1+ | |
| 37 | +| `--transport {tcp\|named-pipe}` | Overrides the client-side automation transport used by `--automation ...` commands | 2026.1+ | |
| 38 | +| `--tcp-port port` | Overrides the client-side localhost TCP port used by `--automation ...` commands | 2026.1+ | |
| 39 | +| `--pipe-name name` | Overrides the client-side named pipe used by `--automation ...` commands | 2026.1+ | |
20 | 40 |
|
21 | 41 | 1. See the available list of setting keys [here](https://github.com/Devolutions/UniGetUI/blob/fc98f312a72b80e14a8ac10687f4fc506a5c9cc4/src/UniGetUI.Core.Settings/SettingsEngine_Names.cs#L5) |
22 | 42 | 2. See the available list of secure settings keys [here](https://github.com/Devolutions/UniGetUI/blob/fc98f312a72b80e14a8ac10687f4fc506a5c9cc4/src/UniGetUI.Core.SecureSettings/SecureSettings.cs#L10) |
23 | 43 |
|
24 | 44 |
|
25 | 45 | \*After modifying the settings, you must ensure that any running instance of UniGetUI is restarted for the changes to take effect |
26 | 46 |
|
| 47 | +## Headless automation daemon and cross-platform CLI |
| 48 | + |
| 49 | +- `dotnet src\UniGetUI.Avalonia\bin\Release\net10.0\UniGetUI.Avalonia.dll --headless` starts the local automation daemon without opening any window or requiring a graphical desktop session. |
| 50 | +- `dotnet src\UniGetUI.Cli\bin\Release\net10.0\UniGetUI.Cli.dll <command>` is the cross-platform CLI wrapper for the automation service. It automatically prepends `--automation`, so `UniGetUI.Cli status` and `UniGetUI.Cli search-packages --manager ".NET Tool" --query dotnetsay` work directly. |
| 51 | + |
27 | 52 | <br><br> |
28 | 53 | # `unigetui://` deep link |
29 | 54 | On a system where UniGetUI 3.1.2+ is installed, the following deep links can be used to communicate with UniGetUI: |
|
0 commit comments