Limiting the sizes of logs
[theonering] / src / debugger.py
1 #!/usr/bin/env python
2
3 import gvoice
4
5
6 def main(args):
7         if args[0] == "messages":
8                 gvoice.conversations.print_conversations(args[1])
9         elif args[0] == "contacts":
10                 gvoice.addressbook.print_addressbook(args[1])
11         else:
12                 print "Huh?"
13
14
15 if __name__ == "__main__":
16         import sys
17         main(sys.argv[1:])