CLI Router implementation