Particle cli compile for P1

Does the particle cli compile and flash for the P1? If so what are the commands needed?

Thanks,