Add some docs about pre and post cmd