improve keys cmd: support keys pattern [limit num] [from type keystart]