Files
nextcloud-deck-tools/Makefile
Chen Asraf 8aa1213f61 feat: create board fix, create tags, main cmd flow
feat: create tags on board
feat: main flow asks for task instead of import by default
fix: create board requires color
2026-05-01 00:06:29 +03:00

29 lines
724 B
Makefile

all:
@poetry run python main.py
install:
@command -v poetry >/dev/null 2>&1 || { echo "poetry not found. Install from https://python-poetry.org/docs/#installation"; exit 1; }
@poetry install --no-root
@if [ ! -f .env ]; then \
echo ".env not found — copying from .env.example"; \
cp .env.example .env; \
echo "Edit .env with your Nextcloud credentials before running."; \
fi
@poetry run python -c "import requests, inquirer" && echo "Install OK — run 'make' to start."
create_board:
@poetry run python create_board.py
create_tags:
@poetry run python create_tags.py
list_boards:
@poetry run python list_boards.py
list_stacks:
@poetry run python list_stacks.py
import:
@poetry run python import.py