It is possible to import developed fragments from command line with npm run import.
When running it, the user is prompted for the following information:
1. Liferay host & port
4. Company ID
5. Group ID
Since it is an interactive process, it makes it difficult to script it and automate it.
Allow the possibility to provide parameters to the import task so it can be scripted as needed.