You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/python/ascii_animator/cli.py
+10-6Lines changed: 10 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -22,10 +22,12 @@ def get_speed(value):
22
22
23
23
24
24
defmain():
25
-
parser=argparse.ArgumentParser(description="Ascii Art Animator from GIF")
26
-
parser.add_argument("-s", "--speed", type=str, default='normal', help="speed of the animation: very_slow, slow, normal, fast (default normal)")
27
-
parser.add_argument("-f", "--file", type=str, help="the path to a gif file")
28
-
parser.add_argument("-d", "--debug", action="store_true", help="display debug messages to stdout")
25
+
parser=argparse.ArgumentParser(description='Ascii Art Animator from GIF')
26
+
parser.add_argument('-s', '--speed', type=str, default='normal', help='speed of the animation: very_slow, slow, normal, fast (default normal)')
27
+
parser.add_argument('-f', '--file', type=str, help='the path to a gif file')
28
+
parser.add_argument('-d', '--debug', action='store_true', help='display debug messages to stdout')
29
+
parser.add_argument('-a', '--show_axis', action='store_true', help='display the grid axis')
30
+
parser.add_argument('-m', '--max_loops', type=int, default=3, help='maximum number of loops, set to 0 to loop through image until keyboard interrupt (default 3)')
0 commit comments