Implement yao doc process list/inspect/validate and yao doc runtime list/inspect/validate commands. Validate uses engine addressing logic (process.Of) and checks dynamic-ID group registries (model, store, fs, task, schedule) to verify resources actually exist. - cmd/doc/: CLI command tree with process and runtime subcommands - cmd/root.go: wire docCmd into rootCmd - 27 process doc.yml + doc.go pairs across yao packages - cmd/doc/doc_test.go: integration tests Made-with: Cursor
24 lines
842 B
YAML
24 lines
842 B
YAML
group: yao.component
|
|
type: process
|
|
entries:
|
|
- name: getoptions
|
|
desc: Get select options by querying a model or query engine with configurable label/value mapping
|
|
args:
|
|
- name: params
|
|
type: object
|
|
required: true
|
|
desc: Query parameters map for filtering results
|
|
- name: props
|
|
type: object
|
|
required: true
|
|
desc: "Component props containing a query object with engine, from, labelField, valueField, wheres, and other query configuration"
|
|
return:
|
|
type: array
|
|
desc: "Array of option objects with label, value, and optional icon and color fields"
|
|
|
|
- name: selectoptions
|
|
desc: "[Deprecated] Use yao.component.getoptions instead. Always throws a 400 error"
|
|
args: []
|
|
return:
|
|
type: void
|
|
desc: Never returns; always throws a deprecation error
|