Skip to content

Instantly share code, notes, and snippets.

@vivainio
Created March 24, 2011 18:16
Show Gist options
  • Save vivainio/885561 to your computer and use it in GitHub Desktop.
Save vivainio/885561 to your computer and use it in GitHub Desktop.
def cmd_members(args):
cw = CodeWise()
if not args:
lines = cw.classcache.keys()
lines.sort()
printlines(lines)
return [] # EKR
mems = cw.get_members([args[0]])
lines = list(set(el + "\t" + pat for el, pat in mems))
lines.sort()
printlines(lines)
return lines # EKR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment