diff talosnames/main.py @ 12:a4aa9f83e3be

adding a thing for commands
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 10 Jul 2012 17:01:05 -0700
parents 1029ddf7b806
children 323a01abd180
line wrap: on
line diff
--- a/talosnames/main.py	Tue Jul 10 16:26:57 2012 -0700
+++ b/talosnames/main.py	Tue Jul 10 17:01:05 2012 -0700
@@ -27,6 +27,17 @@
         """give TBPL name given the buildbot config name"""
         return self.api.tbpl_name(name)
 
+    def suites(self):
+        """list the buildbot suites"""
+        suites = sorted(self.api.suites.keys())
+        return suites
+
+    def command(self, suite):
+        """returns the command that buildbot runs for a particular suite"""
+
+    def tests(self):
+        pass
+
 def main(args=sys.argv[1:]):
     parser = CommandParser(TalosNamesCLI)
     parser.invoke(sys.argv[1:])