Textconv
Read a Graph blob, convert it to text format, and output the result to stdout
The textconv command reads a Graph blob file, converts it from one supported format to another, and prints the converted result to stdout. This command is useful for inspecting or transforming Graph file contents without modifying the original file.
The textconv command is used internally by Git Graph and is not intended to be used directly by users.
Usage
Description
Run the textconv command with the source file path as an argument. The command converts the file contents from the specified source format (using the --from option) into a target format (using the --to option) and outputs the result directly to standard output. This is particularly useful for quickly previewing or processing Graph blobs as human-readable text.
If no options are provided, the command assumes the source format is jsonl and the target format is json.
Arguments
-
pathThe path of the Graph blob file to read and convert.
Options
-
-f, --from <format>(default:jsonl)The source format to parse from.
Choices:
pg,json,jsonl,cypher,neo4j,dot,tgf,canvas,graphology,ncol -
-t, --to <format>(default:json)The target format to serialize to.
Choices:
pg,json,jsonl,cypher,cypherl,neo4j,dot,tgf,canvas,graphology,ncol,xml,yarspg,csv,neptune,mmd,gexf -
-h, --helpDisplay help for the command.
All conversion choices are case-sensitive. Ensure that the specified source and target formats are supported.
Examples
Help
How is this guide?