Change wifi with particle CLI?

Listening Mode activates SoftAP.

You can activate this in code via WiFi.listen().

To get some ideas of how to work with SoftAP, you could go through these long threads (but have to filter quite considerably what goes and what not)
Photon softAP usage?
Using softap-setup-js browserfied
Webpages on Photon / SoftAP