1 from base import CmdBase 2 3 4 -class CmdListKeyPairs(CmdBase): 5 """ 6 listkeypairs 7 8 List all EC2 keypairs 9 """ 10 names = ['listkeypairs', 'lk'] 11 12 - def execute(self, args): 13 self.ec2.list_keypairs() 14