feat: publish CodexPi contest snapshot
Some checks are pending
Qualité / tests (push) Waiting to run
Some checks are pending
Qualité / tests (push) Waiting to run
This commit is contained in:
13
scripts/codexpi-gitea-askpass
Normal file
13
scripts/codexpi-gitea-askpass
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from codexpi.gitea_service import askpass_value
|
||||
|
||||
|
||||
data_dir = Path(os.getenv("CODEXPI_GITEA_DATA_DIR", "/app/data"))
|
||||
prompt = sys.argv[1] if len(sys.argv) > 1 else ""
|
||||
print(askpass_value(data_dir, prompt))
|
||||
Reference in New Issue
Block a user