I'd like to generate some additional stuff into ./idea/workspace.xml after executing gen-idea command from sbt-idea plugin. I either need to modify gen-idea command to append my code after it's executed or create a new command that runs gen-idea command. The question would be how to do that?
More generally, how to execute a command from sbt task or command?