expose threads to cli