Automatic new project creation by batch or command line

Hello,

I'm looking for a way to automatize project creation using command line, so far found nothing. Th e other way would be to clone and parse .idea files created, but I would like to avoid it if possible.

 

Thanks for you leads !

 

Cheers,

Nicolas

0
4 comments

Hi there,

Please clarify what exactly do you mean by "project creation".

Because all what you need is a folder (empty ... or with some existing files in it) .. and pass the full path to it as a parameter to phpstorm's executable -- if project is already created there -- it will open it; otherwise it will create new one from those files (same as "Open | Directory" from PhpStorm).

https://www.jetbrains.com/help/phpstorm/2016.3/opening-files-from-command-line.html?search=command%20line

For example (Windows OS)

"C:\Program Files (x86)\JetBrains\PhpStorm\bin\phpstorm.exe" "D:\php_temp"

 

0
Avatar
Permanently deleted user

Hello,

Thank you for answer, you're right my request is'nt clear enough : by project creation I mean the step you mentionned, but also local server setup (architecture choice, domain name, startup URL...).

Basically all the steps you do when you do "Create project from existing files" : this was the main missing point in my question.

Thanks for your reply,

 

Nicolas

0

With suggested approach user just finishes the setup manually.

I personally do not know about any functionality that can do what you wish from outside of IDE. Maybe actual devs can help you here.

0
Avatar
Permanently deleted user

Hello,

Unfortunately there is no option to do this from command line.

Feel free to submit the feature request to our tracking system here: <http://youtrack.jetbrains.com/issues/WI#newissue=yes>.
You will be able to receive the answer directly from our developers while other users will be able to write their opinion of your proposal.

0

Please sign in to leave a comment.