Add default series and card commands

This commit is contained in:
mpabi
2026-05-01 23:00:32 +02:00
parent 40cfa61f4c
commit 0505b829a1
4 changed files with 215 additions and 10 deletions
+59
View File
@@ -211,8 +211,11 @@ Komendy:
- `list-series`
- `list-cards [series]`
- `series list`
- `series use SERIES`
- `series show SERIES`
- `series fetch SERIES [--dry-run]`
- `card use CARD`
- `card use SERIES CARD`
- `series cards list SERIES`
- `series cards show SERIES CARD`
- `series cards fetch SERIES CARD`
@@ -313,6 +316,30 @@ Przykład:
./rvctl series list
```
## `series use SERIES`
Ustawia `defaults.series` w `workspace.json`.
Argumenty:
- `SERIES`
Id serii, na przykład `inf`.
Przykład:
```bash
./rvctl series use inf
```
Typowy wynik:
```text
old_series<TAB>...
series<TAB>inf
status<TAB>updated|unchanged
config<TAB>...
```
## `series show SERIES`
Pokazuje szczegóły jednej serii.
@@ -373,6 +400,38 @@ Przykład:
./rvctl series cards list inf
```
## `card use CARD`
Ustawia `defaults.card` w `workspace.json` dla aktualnie domyślnej serii.
Argumenty:
- `CARD`
Pełna nazwa repo albo unikalny fragment, na przykład `bss`.
Przykład:
```bash
./rvctl card use bss
```
## `card use SERIES CARD`
Ustawia jednocześnie `defaults.series` i `defaults.card` w `workspace.json`.
Argumenty:
- `SERIES`
Id serii, na przykład `inf`.
- `CARD`
Pełna nazwa repo albo unikalny fragment, na przykład `bss`.
Przykład:
```bash
./rvctl card use inf bss
```
## `series cards show SERIES CARD`
Pokazuje szczegóły jednej karty.