fix(cliproxy): improve sync robustness and consistency

- Add timeout warning in restartAutoSyncWatcher when sync exceeds 10s
- Improve YAML key detection with regex pattern for safer parsing
- Replace --force help with --verbose (no confirmation prompt exists)
- Add force flag parsing for future use
This commit is contained in:
kaitranntt committed 2026-01-28 13:49:46 -05:00
1 parent e80d2d2d05
commit 4124780ce0
4 files changed
+10 -3

No files matched your search

+1 -1
View File
@@ -621,7 +621,7 @@ async function showHelp(): Promise<void> {
[
['sync', 'Sync API profiles to local CLIProxy config'],
['sync --dry-run', 'Preview sync without applying'],
['sync --force', 'Sync without confirmation prompt'],
['sync --verbose', 'Show detailed sync information'],
],
],
[