IntersectPair: CLI refactoring