← All procedures
cue.generate
Generate config files from dependencies.json
MCPCLI- Package
- @procedures/cue · README
- Path
["cue","generate"]- CLI
mark cue generate- MCP tool
cue.generate on the dev-tools server- As data
{"$proc":["cue","generate"],"input":{}}
Use it
In TypeScript
import { Client, LocalTransport, PROCEDURE_REGISTRY } from "@procedures/client";
import "@procedures/cue"; // registers its procedures
const client = new Client(new LocalTransport({ registry: PROCEDURE_REGISTRY }));
const result = await client.exec(["cue","generate"], {});
console.log(JSON.stringify(result));From the command line
$ mark cue generate
As data, in a program
{ "$proc": ["cue", "generate"], "input": {} }Input
| Field | Type | Required | Default | Description |
|---|
cwd | string | no | | The folder of the package (default: the current folder) |
Output
| Field | Type | Required | Default | Description |
|---|
success | boolean | yes | | True when every file was generated |
resolvedFeatures | string[] | yes | | The features with their dependencies |
generated | string[] | yes | | The files that the call wrote |
message | string | no | | A message about the result |
error | string | no | | The reason of a failure (when success is false) |
JSON Schemas
{
"input": {
"type": "object",
"properties": {
"cwd": {
"description": "The folder of the package (default: the current folder)",
"type": "string"
}
}
},
"output": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "True when every file was generated"
},
"resolvedFeatures": {
"type": "array",
"items": {
"type": "string"
},
"description": "The features with their dependencies"
},
"generated": {
"type": "array",
"items": {
"type": "string"
},
"description": "The files that the call wrote"
},
"message": {
"description": "A message about the result",
"type": "string"
},
"error": {
"description": "The reason of a failure (when success is false)",
"type": "string"
}
},
"required": [
"success",
"resolvedFeatures",
"generated"
],
"additionalProperties": {}
}
}