MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / print_help

Function print_help

gql-cli/src/cli/gqlcli.rs:341–353  ·  view source on GitHub ↗

Print help message

()

Source from the content-addressed store, hash-verified

339
340/// Print help message
341fn print_help() {
342 println!("{}", "Available commands:".bold().green());
343 println!(" {} - Show this help message", "help".cyan());
344 println!(" {} - Exit the GQL console", "exit/quit".cyan());
345 println!(" {} - Clear the screen", "clear".cyan());
346 println!("\n{}", "Query syntax:".bold().green());
347 println!(" Multi-line queries are supported");
348 println!(" Terminate queries with semicolon (;)");
349 println!("\n{}", "Examples:".bold().green());
350 println!(" {}", "MATCH (n:Person) RETURN n;".yellow());
351 println!(" {}", "CREATE SCHEMA /myschema;".yellow());
352 println!(" {}", "INSERT (p:Person {{name: 'Alice'}});".yellow());
353}

Callers 1

handle_gqlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected