I work with IntelliJ IDEA projects and to avoid launching the IDE just to run a configuration, I wrote this script that parses the IDEA’s workspace.xml file which contains the configurations and then executes the one specified in the command line.
Idea Run
Run IntelliJ IDEA project configurations from the command line.