Infer remote URL when syncing token store
This commit is contained in:
+4
-3
@@ -444,14 +444,15 @@ Przyklad:
|
||||
## `tokens sync store REMOTE_ID`
|
||||
|
||||
Zapisuje dane auth z rekordu `REMOTE_ID` w `tokens.json` do git remote o tej
|
||||
samej nazwie.
|
||||
samej nazwie. Jesli remote jeszcze nie istnieje, URL jest budowany z pol
|
||||
`server.endpoint`, `org` i `repo` w `tokens.json`.
|
||||
|
||||
Przelaczniki:
|
||||
|
||||
- `--repo PATH`
|
||||
Sciezka wewnatrz docelowego repo. Domyslnie biezacy katalog.
|
||||
- `--url URL`
|
||||
URL remota, jesli remote jeszcze nie istnieje.
|
||||
Opcjonalny URL remota. Nadpisuje URL zbudowany z `tokens.json`.
|
||||
- `--server ENDPOINT`
|
||||
Endpoint serwera z `tokens.json`.
|
||||
- `--replace`
|
||||
@@ -569,7 +570,7 @@ Przelaczniki:
|
||||
- `--remote NAME`
|
||||
Nazwa remota do aktualizacji lub utworzenia.
|
||||
- `--url URL`
|
||||
URL remota, jesli remote jeszcze nie istnieje.
|
||||
Opcjonalny URL remota. Nadpisuje URL zbudowany z `tokens.json`.
|
||||
- `--server ENDPOINT`
|
||||
Endpoint serwera z `tokens.json`.
|
||||
- `--user NAME`
|
||||
|
||||
+4
-2
@@ -215,7 +215,7 @@ Jesli token ma zostac tylko w `tokens.json`, usun git remote:
|
||||
Jesli trzeba ponownie utworzyc remote z sekretem ze store:
|
||||
|
||||
```bash
|
||||
./rvctl tokens sync store r1 --url http://77.90.8.171:3001/edu-tools/rv-launcher.git
|
||||
./rvctl tokens sync store r1
|
||||
```
|
||||
|
||||
## Komendy
|
||||
@@ -283,7 +283,9 @@ Nie zmienia git remote URL-a i nie kopiuje sekretu z remote.
|
||||
### `tokens sync store REMOTE_ID`
|
||||
|
||||
Zapisuje dane z rekordu `REMOTE_ID` w `tokens.json` do git remote o tej samej
|
||||
nazwie. Bez `--repo` zapisuje do repo zawierajacego `rvctl`.
|
||||
nazwie. Jesli remote jeszcze nie istnieje, URL jest budowany z pol
|
||||
`server.endpoint`, `org` i `repo` w `tokens.json`. Bez `--repo` zapisuje do repo
|
||||
zawierajacego `rvctl`.
|
||||
|
||||
```bash
|
||||
./rvctl tokens sync store r1
|
||||
|
||||
Reference in New Issue
Block a user