← All procedures
cue.remove
Remove a feature from dependencies.json
MCPCLI- Package
- @procedures/cue · README
- Path
["cue","remove"]- CLI
mark cue remove --feature <string>- MCP tool
cue.remove on the dev-tools server- As data
{"$proc":["cue","remove"],"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","remove"], { feature: "<feature>" });
console.log(JSON.stringify(result));From the command line
$ mark cue remove --feature <string>
As data, in a program
{ "$proc": ["cue", "remove"], "input": { "feature": "<feature>" } }Input
| Field | Type | Required | Default | Description |
|---|
feature | string | yes | | The feature: git, npm, ts, node, node-cjs, react, vite, vite-react, cue or vitest |
cwd | string | no | | The folder of the package (default: the current folder) |
Output
| Field | Type | Required | Default | Description |
|---|
success | boolean | yes | | True when the feature is not in dependencies.json after the call |
feature | string | yes | | The feature |
removed | boolean | yes | | True when the call removed the feature |
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": {
"feature": {
"type": "string",
"description": "The feature: git, npm, ts, node, node-cjs, react, vite, vite-react, cue or vitest"
},
"cwd": {
"description": "The folder of the package (default: the current folder)",
"type": "string"
}
},
"required": [
"feature"
]
},
"output": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"description": "True when the feature is not in dependencies.json after the call"
},
"feature": {
"type": "string",
"description": "The feature"
},
"removed": {
"type": "boolean",
"description": "True when the call removed the feature"
},
"message": {
"description": "A message about the result",
"type": "string"
},
"error": {
"description": "The reason of a failure (when success is false)",
"type": "string"
}
},
"required": [
"success",
"feature",
"removed"
],
"additionalProperties": {}
}
}