Hook CLI into executable.