MCPcopy Create free account
hub / github.com/agenticsorg/edge-agents / printHelp

Function printHelp

scripts/sparc2/sparc2-cli-wrapper.js:281–302  ·  view source on GitHub ↗

* Print the CLI help message

()

Source from the content-addressed store, hash-verified

279 * Print the CLI help message
280 */
281function printHelp() {
282 console.log("SPARC 2.0 CLI v2.0.5");
283 console.log("");
284 console.log("Usage: sparc2 <command> [options]");
285 console.log("");
286 console.log("Commands:");
287 console.log(" analyze Analyze code files for issues and improvements");
288 console.log(" modify Apply suggested modifications to code files");
289 console.log(" execute Execute code in a sandbox");
290 console.log(" search Search for similar code changes");
291 console.log(" checkpoint Create a git checkpoint");
292 console.log(" rollback Rollback to a previous checkpoint");
293 console.log(" config Manage configuration");
294 console.log(" api Start a Model Context Protocol (MCP) HTTP API server");
295 console.log(" mcp Start a Model Context Protocol (MCP) server using stdio transport");
296 console.log("");
297 console.log("Options:");
298 console.log(" --help, -h Show help");
299 console.log(" --version, -v Show version");
300 console.log("");
301 console.log("For command-specific help, run: sparc2 <command> --help");
302}
303
304/**
305 * Print the CLI version

Callers 1

runSimplifiedCliFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected