feat: Enhance analytics opt-in logic with user sampling and explicit control

This commit is contained in:
Paul Gauthier 2024-11-20 16:22:01 -08:00 committed by Paul Gauthier (aider)
parent 3a28e74d89
commit 539a6cde63
4 changed files with 29 additions and 9 deletions

View file

@ -562,8 +562,8 @@ def get_parser(default_config_files, git_root):
group.add_argument(
"--analytics",
action=argparse.BooleanOptionalAction,
default=False,
help="Enable/disable analytics for one session (default: False)",
default=None,
help="Enable/disable analytics for current session (default: random)",
)
group.add_argument(
"--analytics-log",