uloop get-menu-items
Retrieve Unity MenuItems.
Usage
uloop get-menu-items [options]
Parameters
| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| --filter-text | string | - | Filter text |
| --filter-type | string | contains | Filter type: contains, exact, startswith |
| --max-count | integer | 200 | Maximum number of items |
| --include-validation | boolean | false | Include validation functions |
Global Options
| Option | Description |
|--------|-------------|
| --project-path <path> | Target a specific Unity project (mutually exclusive with --port). Path resolution follows the same rules as cd — absolute paths are used as-is, relative paths are resolved from cwd. |
| -p, --port <port> | Specify Unity TCP port directly (mutually exclusive with --project-path). |
Examples
# List all menu items
uloop get-menu-items
# Filter by text
uloop get-menu-items --filter-text "GameObject"
# Exact match
uloop get-menu-items --filter-text "File/Save" --filter-type exact
Output
Returns JSON array of menu items with paths and metadata.
Notes
Use with uloop execute-menu-item to run discovered menu commands.