diff options
Diffstat (limited to '')
-rwxr-xr-x | scripts/assert-content.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/assert-content.sh b/scripts/assert-content.sh index eeca684..ee028a6 100755 --- a/scripts/assert-content.sh +++ b/scripts/assert-content.sh @@ -8,6 +8,18 @@ red() { echo -e "${red}${1}${end}"; } JSON="${1:-}" [[ -z "${JSON}" ]] && { red 'Missing input JSON file.' + cat <<EOF +Usage: + $0 <SITE_JSON_PATH> + + Arguments + SITE_JSON_PATH Path to the site.json file which contains data and metadata about pages of the site. + +Examples: + $0 _site/site.json + $0 result/site.json + $0 \$(nix-build -A subtasks.docs)/site.json +EOF exit 2 } |