← 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

FieldTypeRequiredDefaultDescription
featurestringyesThe feature: git, npm, ts, node, node-cjs, react, vite, vite-react, cue or vitest
cwdstringnoThe folder of the package (default: the current folder)

Output

FieldTypeRequiredDefaultDescription
successbooleanyesTrue when the feature is not in dependencies.json after the call
featurestringyesThe feature
removedbooleanyesTrue when the call removed the feature
messagestringnoA message about the result
errorstringnoThe 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": {}
  }
}