mirror of
https://github.com/chenasraf/nextcloud-deck-tools.git
synced 2026-05-17 17:28:07 +00:00
feat: create tags on board feat: main flow asks for task instead of import by default fix: create board requires color
29 lines
724 B
Makefile
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
|
|
|