pub async fn execute_with_pool( command: AnalyticsCommands, pool: &DbPool, config: &CliConfig, ) -> Result<()>