Add folder to project from terminal


Hello i currently use the atom command from the console to open a window with a folder, but i often need to add “Add a folder to project” and i would love to being able to do this from terminal too, is it possibe ?


How would you specify what it should be added to?


I rarely use more than one window any solution would fit well, otherwise a list of open windows and choose like Yeoman