pub async fn main() -> Result<()>
The main function that initializes environment variables, config, and sync process.