Skip to content

Commit

Permalink
curl is required
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat0694 committed Feb 4, 2024
1 parent 7440da9 commit 63ccdc4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sg-cli
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ if ! type jq >/dev/null 2>&1; then
exit 2
fi

# check if curl command is installed
if ! type curl >/dev/null 2>&1; then
err "curl command is required"
exit 2
fi

#{{{ Color Variables For `printf`
readonly C_RED_BOLD="\033[1;31m"
readonly C_RED="\033[0;31m"
Expand Down

0 comments on commit 63ccdc4

Please sign in to comment.