.PHONY: build up down logs test cli build: ./scripts/build.sh up: ./scripts/up.sh down: ./scripts/down.sh logs: ./scripts/logs.sh test: ./scripts/test.sh cli: @if [ -z "$$WIKI_URL" ] || [ -z "$$WIKI_API_KEY" ] || [ -z "$$WIKI_START_PAGE" ]; then \ echo "Set WIKI_URL, WIKI_API_KEY and WIKI_START_PAGE first."; \ exit 2; \ fi npm run cli