mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 08:18:04 +00:00
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:
1 parent
e80d2d2d05
commit
4124780ce0
4 files changed
+10
-3
No files matched your search
@@ -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'],
|
||||
],
|
||||
],
|
||||
[
|
||||
|
||||
Reference in new issue
Block a user