'MacOS WebStorm open project terminal command

I would like to do that when I am on the terminal and I execute a specific command ws . on that folder, WebStorm opens the program to me with that project open.

I tried the open -na "WebStorm.app" command but it doesn't work, it just opens WebStorm for me.

How can I do?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source