feat(api): fix: DPLAN-0049 waves 1-2 — help_text, silent_catch, commented_logger

Co-Authored-By: @api <api@aipass>
This commit is contained in:
AIOSAI
2026-03-22 23:01:24 -07:00
co-authored by @api
parent 123455c107
commit 19e63ae6df
18 changed files with 169 additions and 138 deletions
+2 -2
View File
@@ -251,7 +251,7 @@ def cleanup_data(args: List[str]):
from aipass.trigger.apps.modules.core import trigger
trigger.fire('usage_data_cleaned', days=days, data_path=str(data_path))
except ImportError:
pass # Silent fallback
logger.warning("Trigger module not available — skipping event fire")
else:
error("Cleanup failed")
@@ -280,6 +280,6 @@ if __name__ == "__main__":
console.print()
console.print(f"[red]Unknown command: {command}[/red]")
console.print()
console.print("Run [dim]python3 usage_tracker.py --help[/dim] for available commands")
console.print("Run [dim]drone @api --help[/dim] for available commands")
console.print()
sys.exit(1)