Skip to content

Commit d23ac70

Browse files
committed
Update console scripts
1 parent f308412 commit d23ac70

File tree

2 files changed

+6
-14
lines changed

2 files changed

+6
-14
lines changed

seleniumbase/console_scripts/logo_helper.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
http://www.patorjk.com/software/taag/#p=display&f=Slant&t=SeleniumBase """
44

55
import colorama
6-
import sys
76

87
r'''
98
______ __ _ ____
@@ -21,13 +20,6 @@ def get_seleniumbase_logo():
2120
c3 = colorama.Back.CYAN
2221
c4 = colorama.Back.GREEN
2322
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 = ''
3123
sb = " "
3224
sb += cr
3325
sb += "\n"

seleniumbase/console_scripts/run.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
def show_usage():
3232
show_basic_usage()
3333
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')
3737
if "linux" not in sys.platform:
3838
colorama.init(autoreset=True)
3939
c1 = colorama.Fore.BLUE + colorama.Back.LIGHTCYAN_EX
@@ -57,10 +57,10 @@ def show_basic_usage():
5757
print("%s" % get_version()[0:1])
5858
print("")
5959
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')
6262
sc += ("\n")
63-
sc += ("Commands:\n")
63+
sc += ("COMMANDS:\n")
6464
sc += (" install [DRIVER_NAME] [OPTIONS]\n")
6565
sc += (" mkdir [DIRECTORY_NAME]\n")
6666
sc += (" mkfile [FILE_NAME.py]\n")

0 commit comments

Comments
 (0)