Base for import/export commands.