44 a more appealing look to your CLI application and segregates data in a more orginazed way. An explanation of each input
55 is below:
66
7- opt_frame(list1,title,length, q, s, clr_scn,color,txt_color,ttl_color)
8- list^ str^ int^ str^ str^ int^ str^ str^ str^
7+ opt_frame( list1, title, length, q, s, clr_scn, color, txt_color, ttl_color )
8+
99
1010list1 - Required - The list of variables that will make up the opt_box frame. Used for multiline frames.
1111title - Required - Used to create the single line title box.
@@ -23,14 +23,14 @@ See py file for examples.
2323 opt_bar, used as a sort of "loading" screen. This tool displays the 'title' text and then starts an accending array of a
2424 a specific character, such as a '.' or '/'
2525
26- opt_bar(title,length,char,speed=1,clr_scn=0)
27- str^ int^ str^ float^ int^
26+ opt_bar( title, length, char, speed=1, clr_scn=0)
27+
2828
29- title - string - required - Text to display before the accending characters
30- length - - not required - the amount of characters you would like the opt_bar to accend to. Default - 10
31- char - not required - the accending character (or characters) you want to be printed. Default - "."
32- speed - not required - the pause time inbetween each accending char. Default - 1
33- clr_scn - not required - tells the function to clear the screen before running or not. Default - "0" - not
29+ title - Required - Text to display before the accending characters
30+ length - the amount of characters you would like the opt_bar to accend to. Default - 10
31+ char - the accending character (or characters) you want to be printed. Default - "."
32+ speed - the pause time inbetween each accending char. Default - 1
33+ clr_scn - tells the function to clear the screen before running or not. Default - "0" - not
3434
3535 Example #1 - opt_bar(title="Loading",length=15,char="/",speed=.5,clr_scn=1)
3636
0 commit comments