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) |
-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 exactOutput
Returns JSON array of menu items with paths and metadata.
Notes
Use with uloop execute-menu-item to run discovered menu commands.