Add snapshot command to cli