add url to dependencies

This commit is contained in:
felixlohmeier 2022-12-06 12:09:29 +00:00
parent 1a8fcda377
commit 79e69a3612
2 changed files with 6 additions and 2 deletions

4
orcli
View File

@ -1393,11 +1393,15 @@ parse_requirements() {
# :command.dependencies_filter
if ! command -v curl >/dev/null 2>&1; then
printf "missing dependency: curl\n" >&2
# shellcheck disable=SC2059
printf "https://curl.se\n" >&2
exit 1
fi
if ! command -v jq >/dev/null 2>&1; then
printf "missing dependency: jq\n" >&2
# shellcheck disable=SC2059
printf "https://github.com/stedolan/jq\n" >&2
exit 1
fi

View File

@ -4,8 +4,8 @@ version: 0.1.0
footer: https://github.com/opencultureconsulting/orcli
dependencies:
- curl
- jq
curl: https://curl.se
jq: https://github.com/stedolan/jq
environment_variables:
- name: OPENREFINE_URL