Seperate cli from pt api