Add rvctl entrypoint and docs

This commit is contained in:
mpabi
2026-04-26 13:50:30 +02:00
parent 331e87ff90
commit c57c14ee63
8 changed files with 586 additions and 538 deletions
+9 -9
View File
@@ -88,8 +88,8 @@ Dzialanie:
Przyklad:
```bash
python3 workspace.py tokens scan
python3 workspace.py tokens scan --repo ~/dev/workspace/rv/series/inf/03
./rvctl tokens scan
./rvctl tokens scan --repo ~/dev/workspace/rv/series/inf/03
```
### `tokens read`
@@ -111,9 +111,9 @@ Oraz liste userow i nazw tokenow dla kazdego endpointu.
Przyklad:
```bash
python3 workspace.py tokens read
python3 workspace.py tokens read --server http://77.90.8.171:3001
python3 workspace.py tokens read --show-secrets
./rvctl tokens read
./rvctl tokens read --server http://77.90.8.171:3001
./rvctl tokens read --show-secrets
```
### `tokens stats`
@@ -134,7 +134,7 @@ Wynik ma ten sam model co `tokens read`, ale w formie zbiorczej:
Przyklad:
```bash
python3 workspace.py tokens stats --repo ~/dev/workspace/rv/series/inf/03
./rvctl tokens stats --repo ~/dev/workspace/rv/series/inf/03
```
### `tokens write`
@@ -154,7 +154,7 @@ Dzialanie:
Przyklad:
```bash
python3 workspace.py tokens write \
./rvctl tokens write \
--repo ~/dev/workspace/rv/series/inf/03 \
--remote r1 \
--server http://77.90.8.171:3001 \
@@ -174,8 +174,8 @@ Dozwolone kierunki:
Przyklad:
```bash
python3 workspace.py tokens update --from remotes --repo ~/dev/workspace/rv/series/inf/03
python3 workspace.py tokens update --from store --repo ~/dev/workspace/rv/series/inf/03 --remote r1 --server http://77.90.8.171:3001 --user u1 --token-name t1
./rvctl tokens update --from remotes --repo ~/dev/workspace/rv/series/inf/03
./rvctl tokens update --from store --repo ~/dev/workspace/rv/series/inf/03 --remote r1 --server http://77.90.8.171:3001 --user u1 --token-name t1
```
## Konflikty