Generalized readline for various cmd types