Add token skeleton command

This commit is contained in:
mpabi
2026-04-26 21:56:07 +02:00
parent e9933d7385
commit d2d200257f
5 changed files with 123 additions and 17 deletions
+13
View File
@@ -161,6 +161,19 @@ Pokazuje zawartosc `tokens.json`.
./rvctl tokens read --show-secrets
```
### `tokens add`
Dodaje pusty szkielet tokena do `tokens.json`. Pole `value` zostaje puste, zeby
mozna bylo recznie wkleic sekret.
```bash
./rvctl tokens add t1
./rvctl tokens add r6 --server http://77.90.8.171:3001
./rvctl tokens add t1 --remote r1 --org edu-tools --repo rv-launcher
```
`tokens write` nie uzyje pustego tokena. Najpierw trzeba uzupelnic `value`.
### `tokens stats`
Pokazuje kontekst, tabele `tokens` i podsumowanie statusow endpointow.