]> git.earman.xyz Git - sensor-watch.git/commitdiff
add additional watch face types to generator
authorJoey Castillo <joeycastillo@utexas.edu>
Fri, 18 Feb 2022 15:05:21 +0000 (10:05 -0500)
committerJoey Castillo <joeycastillo@utexas.edu>
Fri, 18 Feb 2022 15:05:46 +0000 (10:05 -0500)
movement/template/watch_face.py

index 4833c382fa249b4571fe891280b82b73f491d1a8..4143b01f04869d9add7972b8235608b7bab067ab 100644 (file)
@@ -71,8 +71,8 @@ def update_include_file(file_path, indicator_line, line_to_insert):
 
 def main():
     parser = argparse.ArgumentParser(description="Create a new watch face.")
-    parser.add_argument("watch_face_type", metavar="face_type", type=str, choices=["complication", "clock"], help="The type of watch face to create, either \"complication\" or \"clock\"")
-    parser.add_argument("watch_face_name", metavar="face_name", type=str, help="The name of the watch face")
+    parser.add_argument("watch_face_type", metavar="face_type", type=str, choices=["clock", "complication", "demo", "sensor", "settings"], help="The type of watch face to create ('clock', 'complication', 'demo', 'sensor', 'settings')")
+    parser.add_argument("watch_face_name", metavar="face_name", type=str, help="The name of the watch face. Use underscores between words if you have more than one.")
     parser.add_argument("--author-name", metavar="author_name", type=str, nargs='*', help="The name of the author")
 
     args = parser.parse_args()