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.

Create a file in /usr/local/bin/gw3 with following content:

#!/bin/bash
java -jar /home/krikar/dev/mbt/gw3/graphwalker-cli/target/graphwalker-cli-3.4.2.jar "$@"

Set the execution flag

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

Global options

The global options affect all commands. Some options, like version, exits the program directly.

  • --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

Tags: