Python - Command Line Baking

Does a script exist to bake from a command line? Fluids, cloth, particles etc…

Yeah I really need to re-bake a cloth simulation from a python script. I can’t seem to find anything about doing this in the API reference or with google. Can anyone help me out?