Command Line Tool - GraphWalker/graphwalker-project GitHub Wiki

The GraphWalker command line interface is a tool for working with graphs. It has a subset of commands that are specialized.

Creating a script facilitating command line handling on a linux machine.

Download the jar file from the Releases page.

Create a file called /usr/local/bin/gw with the following content:

#!/bin/bash
java -jar /<PATH TO JAR>/graphwalker-cli-4.3.1.jar "$@"

Set the execution flag

sudo chmod +x /usr/local/bin/gw

Global options

The global options affects all commands. Some options, like version, exits the program immediately.

  • --debug, -d

    Sets the log level: OFF, ERROR, WARN, INFO, DEBUG, TRACE, ALL. Default: OFF.

  • --help, -h

    Prints help text.

  • --version, -v

    Prints the version of GraphWalker.