CLI tool that enriches a vinyl record CSV by querying Discogs, following the specification in ../app_spec.md.
- Ensure Python 3.11 is installed.
- Create a virtual environment (recommended
python3 -m venv .venv), then activate it. - Install dependencies:
pip install -e .(run inside this directory).
windsurf-discogs --input ../list_in.csv --output ./list_out.csv --token-file ../discogs_personal_access_token
# or, from source without installing globally:
python -m windsurf_cli.cli --input ../list_in.csv --output ./list_out.csv --token-file ../discogs_personal_access_tokenOptions:
--input/-i: Path to the source CSV.--output/-o: Destination CSV to write enriched data.--token: Discogs personal access token (can use env varDISCOGS_TOKEN).--token-file: Path to a file containing the token (useful to keep token out of shell history).
Run windsurf-discogs --help for more details.