-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (18 loc) · 939 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (18 loc) · 939 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.DEFAULT_GOAL := help
SHELL := /bin/bash
ROOT := $(shell pwd)
# The TeamPlus → Telegram bridge daemon was retired; its code lives under
# archive/telegram-bridge/. Messages now send directly via REST (dms skill)
# or the cloud worker (scripts/send.mjs). Only shared TeamPlus tooling remains.
.PHONY: help refresh setup-creds tui
help: ## Show available targets
@awk 'BEGIN{FS=":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " \033[1m%-16s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
refresh: ## Refresh TeamPlus cookies via patchright auto-login
@./scripts/refresh.sh
setup-creds: ## Interactive prompt for TeamPlus account/password → .env
@./scripts/setup_creds.sh
tui: ## Launch the live TeamPlus terminal client (curses)
@[ -x .venv/bin/python ] || uv venv .venv
@.venv/bin/python -c "import websocket, certifi" 2>/dev/null || \
VIRTUAL_ENV="$(ROOT)/.venv" uv pip install -q -r requirements.txt
@.venv/bin/python -m tui