Extract cli library