[O] Better CLI wizard (#1)

This commit is contained in:
2026-05-03 13:54:43 -04:00
committed by GitHub
parent 86e8d16759
commit 236ec5bb8b
6 changed files with 965 additions and 0 deletions
+8
View File
@@ -26,6 +26,14 @@ Create the config file:
git-sync config init
```
Or use the interactive wizard, which can create or update the same config file:
```sh
git-sync config wizard
```
The wizard asks for the provider first, suggests a site name from that provider, stores the PAT directly in the config file, and validates the PAT against the provider before saving the site.
Add sites. Prefer `--token-env` so PATs do not live in shell history or the config file.
```sh