cp.nvim/lua/cp
Barrett Ruth 3e0b7beabf feat: add :CP login command for explicit credential management
Problem: credentials were only set implicitly on first :CP submit.
There was no way to update wrong credentials, log out, or set
credentials ahead of time without editing the cache JSON manually.

Solution: add :CP login [platform] which always prompts for username
and password and overwrites any saved credentials for that platform.
Omitting the platform falls back to the active platform. Wire the
command through constants, parse_command, handle_command, and add
tab-completion (suggests platform names). Document in vimdoc under
the SUBMIT section and in the commands reference.
2026-03-03 16:28:54 -05:00
..
commands feat: add :CP login command for explicit credential management 2026-03-03 16:28:54 -05:00
pickers feat(io): cleanup view 2025-11-06 01:31:50 -05:00
runner refactor: rename epsilon to precision in runner 2026-03-03 15:09:41 -05:00
ui fix(views): fix interactive guard logic and add stress panel support 2026-03-03 15:09:41 -05:00
cache.lua refactor(submit): consolidate credentials into main cache file 2026-03-03 16:24:12 -05:00
config.lua feat(platforms): add kattis and usaco scrapers 2026-03-03 15:09:41 -05:00
constants.lua feat: add :CP login command for explicit credential management 2026-03-03 16:28:54 -05:00
health.lua fix: replace deprecated vim.loop with vim.uv 2026-02-26 22:45:07 -05:00
helpers.lua feat(ui): auto-hide source buffer on close 2025-10-24 14:47:12 -04:00
init.lua fix: surface runtime check failures as clean notifications 2026-02-18 17:25:50 -05:00
log.lua fix(cache): contest override 2025-10-04 12:48:57 -04:00
login.lua feat: add :CP login command for explicit credential management 2026-03-03 16:28:54 -05:00
race.lua fix: resolve lua typecheck warnings in race and scraper 2026-03-03 15:09:41 -05:00
restore.lua fix: don't always open new window 2025-10-12 20:31:11 -04:00
scraper.lua fix: resolve lua typecheck warnings in race and scraper 2026-03-03 15:09:41 -05:00
setup.lua feat(scraper): add precision extraction, start_time, and submit support 2026-03-03 15:09:41 -05:00
state.lua fix: race condition & logs 2026-01-27 12:22:53 -05:00
stress.lua feat(stress): add stress test loop 2026-03-03 15:09:41 -05:00
submit.lua refactor(submit): consolidate credentials into main cache file 2026-03-03 16:24:12 -05:00
utils.lua fix(utils): skip uv python setup on NixOS 2026-03-03 00:46:59 -05:00
version.lua fix: refactor 2025-09-21 11:19:00 -04:00