Add command to IDESlave for metavars

Fixes #1036.