File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
seleniumbase/console_scripts Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 3
3
http://www.patorjk.com/software/taag/#p=display&f=Slant&t=SeleniumBase """
4
4
5
5
import colorama
6
- import sys
7
6
8
7
r'''
9
8
______ __ _ ____
@@ -21,13 +20,6 @@ def get_seleniumbase_logo():
21
20
c3 = colorama .Back .CYAN
22
21
c4 = colorama .Back .GREEN
23
22
cr = colorama .Style .RESET_ALL
24
- if "linux" in sys .platform :
25
- # Skip colors on Linux
26
- c1 = ''
27
- c2 = ''
28
- c3 = ''
29
- c4 = ''
30
- cr = ''
31
23
sb = " "
32
24
sb += cr
33
25
sb += "\n "
Original file line number Diff line number Diff line change 31
31
def show_usage ():
32
32
show_basic_usage ()
33
33
sc = ("" )
34
- sc += ('Type "sbase help [COMMAND]" for specific command info.\n ' )
35
- sc += ('For info on all commands, type: "seleniumbase --help".\n ' )
36
- sc += ('* (Use "pytest" for running tests) *\n ' )
34
+ sc += (' Type "sbase help [COMMAND]" for specific command info.\n ' )
35
+ sc += (' For info on all commands, type: "seleniumbase --help".\n ' )
36
+ sc += (' * (Use "pytest" for running tests) *\n ' )
37
37
if "linux" not in sys .platform :
38
38
colorama .init (autoreset = True )
39
39
c1 = colorama .Fore .BLUE + colorama .Back .LIGHTCYAN_EX
@@ -57,10 +57,10 @@ def show_basic_usage():
57
57
print ("%s" % get_version ()[0 :1 ])
58
58
print ("" )
59
59
sc = ("" )
60
- sc += ('Usage: "seleniumbase [COMMAND] [PARAMETERS]"\n ' )
61
- sc += ('(simplified): "sbase [COMMAND] [PARAMETERS]"\n ' )
60
+ sc += (' * Usage: "seleniumbase [COMMAND] [PARAMETERS]"\n ' )
61
+ sc += (' * (simplified): "sbase [COMMAND] [PARAMETERS]"\n ' )
62
62
sc += ("\n " )
63
- sc += ("Commands :\n " )
63
+ sc += ("COMMANDS :\n " )
64
64
sc += (" install [DRIVER_NAME] [OPTIONS]\n " )
65
65
sc += (" mkdir [DIRECTORY_NAME]\n " )
66
66
sc += (" mkfile [FILE_NAME.py]\n " )
You can’t perform that action at this time.
0 commit comments