Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

Terminusdb bin #35

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions terminusdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
$SCRIPT_DIR/terminusdb-container cli "${@:1}"
2 changes: 1 addition & 1 deletion terminusdb-container
Original file line number Diff line number Diff line change
@@ -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