diff --git a/terminusdb b/terminusdb new file mode 100755 index 0000000..7e57d4a --- /dev/null +++ b/terminusdb @@ -0,0 +1,4 @@ +#!/bin/bash + +SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +$SCRIPT_DIR/terminusdb-container cli "${@:1}" diff --git a/terminusdb-container b/terminusdb-container index c36e052..be652f1 100755 --- a/terminusdb-container +++ b/terminusdb-container @@ -267,7 +267,7 @@ if [[ -n "$1" ]]; then # shellcheck disable=SC2124 TERMINUSDB_RUN_CMD="${@:2}" fi - _cli || printf "\nError on executing the CLI command, did you forget to run the container first with the run command?" + _cli || printf "\nError on executing the CLI command, did you forget to run the container first with the run command? Run: ./terminusdb-container run" ;; "stop") _check_if_docker_is_in_path