Split token scan and compare commands

This commit is contained in:
mpabi
2026-04-27 20:23:04 +02:00
parent 2ab1a428e7
commit 147468c48d
4 changed files with 135 additions and 24 deletions
+5 -2
View File
@@ -156,6 +156,7 @@ Podstawowe komendy tokenow:
```bash
./rvctl tokens scan
./rvctl tokens compare
./rvctl tokens list store
./rvctl tokens list remote
./rvctl tokens sync remote r1
@@ -168,8 +169,10 @@ Podstawowe komendy tokenow:
./rvctl tokens stats --repo ~/dev/workspace/rv/series/inf/03
```
`tokens scan` wypisuje tabele `tokens` i niczego nie zapisuje: jeden wiersz na
logiczny remote tokena.
`tokens scan` wypisuje diagnostyczny skan git remotes i niczego nie zapisuje:
pokazuje URL-e typu `auth`, `plain` i `unsupported`.
`tokens compare` wypisuje tabele `tokens` i niczego nie zapisuje: jeden wiersz
na logiczny remote tokena.
`tokens list store|remote|both` wypisuje jedno zrodlo bez porownywania.
`tokens.json` synchronizujemy z repo `rv-launcher`; remotes kart pracy i
odpowiedzi sa generowane jako pochodne tego ustawienia.