<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def send_cmd(cmd, args, ret):
 """Collect and send analytics for CLI command. Args: args (list):
 parsed args for the CLI command. ret (int):
 return value of the CLI command. """

        from dvc.daemon import daemon

        if not Analytics._is_enabled(cmd):
            return

        analytics = Analytics()
        analytics.collect_cmd(args, ret)
        daemon(["analytics", analytics.dump()])