Question How to scan WordPress installation from command line for manually installed WordPress sites

Alnaggar

New Pleskian
Hello, I have a custom script that clone pre designed WordPress for new user account automatically. And I have to press "Scan" in WordPress toolkit for it to show in sites list. What's the command line to scan WordPress installation from the command line?
 
It require "-main-domain-id" and how I can get it when it's not even show when I do --list ? Could you please provide me an example
 
Back
Top