mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-19 16:15:29 +00:00
feat(cliproxy): disable logging by default and add cleanup command
- Disable CLIProxy logging by default to prevent 5-12GB disk bloat - Add cliproxy.logging config option for user opt-in via ~/.ccs/config.yaml - Add `ccs cleanup` command to remove old CLIProxy logs - Bump CLIProxy config version to v3 to trigger config regeneration Closes #96
This commit is contained in:
1 parent
03dca41b2b
commit
e5cdf7c083
6 files changed
+252
-3
No files matched your search
@@ -252,6 +252,13 @@ async function main(): Promise<void> {
|
||||
return;
|
||||
}
|
||||
|
||||
// Special case: cleanup command
|
||||
if (firstArg === 'cleanup' || firstArg === '--cleanup') {
|
||||
const { handleCleanupCommand } = await import('./commands/cleanup-command');
|
||||
await handleCleanupCommand(args.slice(1));
|
||||
return;
|
||||
}
|
||||
|
||||
// Special case: migrate command
|
||||
if (firstArg === 'migrate' || firstArg === '--migrate') {
|
||||
const { handleMigrateCommand, printMigrateHelp } = await import('./commands/migrate-command');
|
||||
|
||||
Reference in new issue
Block a user