make cli() work on sources, too