Skip to content

Commit cd7b1b6

Browse files
committed
Update console scripts and styling
1 parent 30fbc9d commit cd7b1b6

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

seleniumbase/console_scripts/logo_helper.py

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,46 +15,48 @@
1515

1616
def get_seleniumbase_logo():
1717
colorama.init(autoreset=True)
18-
c1 = colorama.Fore.BLUE + colorama.Back.CYAN
19-
c2 = colorama.Fore.CYAN + colorama.Back.BLUE
18+
c1 = colorama.Fore.BLUE + colorama.Back.LIGHTCYAN_EX
19+
c2 = colorama.Fore.BLUE + colorama.Back.LIGHTGREEN_EX
20+
c3 = colorama.Back.CYAN
21+
c4 = colorama.Back.GREEN
2022
cr = colorama.Style.RESET_ALL
2123
sb = " "
22-
sb += c1
24+
sb += cr
2325
sb += "\n"
2426
sb += c1
2527
sb += " ______ __ _ "
2628
sb += c2
2729
sb += "____ "
28-
sb += c1
30+
sb += cr
2931
sb += "\n"
3032
sb += c1
3133
sb += " / ____/__ / /__ ____ (_)_ ______ ___ "
3234
sb += c2
3335
sb += "/ __ `____ ________ "
34-
sb += c1
36+
sb += cr
3537
sb += "\n"
3638
sb += c1
3739
sb += " \\__ \\/ _ \\/ / _ \\/ __ \\/ / / / / __ `__ \\"
3840
sb += c2
3941
sb += "/ /_/ / __ `/ ___/ _ \\"
40-
sb += c1
42+
sb += cr
4143
sb += "\n"
4244
sb += c1
4345
sb += " ___/ / __/ / __/ / / / / /_/ / / / / / "
4446
sb += c2
4547
sb += "/ /_) / /_/ (__ ) __/"
46-
sb += c1
48+
sb += cr
4749
sb += "\n"
4850
sb += c1
4951
sb += "/____/\\___/_/\\___/_/ /_/_/\\__,_/_/ /_/ /_"
5052
sb += c2
5153
sb += "/_____/\\__,_/____/\\___/ "
52-
sb += c1
54+
sb += cr
5355
sb += "\n"
54-
sb += c1
55-
sb += " "
56-
sb += c2
57-
sb += " "
58-
sb += c1
56+
sb += c3
57+
sb += " "
58+
sb += c4
59+
sb += " "
60+
sb += cr
5961
sb += cr
6062
return sb

seleniumbase/console_scripts/run.py

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ def show_usage():
2727
show_basic_usage()
2828
print('Type "seleniumbase --help" for details on all commands.')
2929
print('Type "seleniumbase help [COMMAND]" for specific command info.')
30-
print('Type "pytest [FILE_OR_DIR]" to run tests in the given location.')
31-
print('Type "pytest --help" to learn more about running tests.\n')
30+
print('Use "pytest" for running tests.\n')
3231

3332

3433
def show_basic_usage():
@@ -38,15 +37,14 @@ def show_basic_usage():
3837
print('Usage: "seleniumbase [COMMAND] [PARAMETERS]"')
3938
print(' * (Example: "seleniumbase install chromedriver")')
4039
print("")
41-
print("Commands with parameters:")
42-
print("")
43-
print(" seleniumbase")
44-
print(" install [DRIVER_NAME]")
45-
print(" mkdir [NEW_TEST_DIRECTORY_NAME]")
46-
print(" convert [PYTHON_WEBDRIVER_UNITTEST_FILE]")
47-
print(" download server")
48-
print(" grid-hub {start|stop|restart} [OPTIONS]")
49-
print(" grid-node {start|stop|restart} --hub=[HUB_IP] [OPTIONS]")
40+
print("Commands:")
41+
print(" seleniumbase")
42+
print(" install [DRIVER_NAME]")
43+
print(" mkdir [NEW_TEST_DIRECTORY_NAME]")
44+
print(" convert [PYTHON_WEBDRIVER_UNITTEST_FILE]")
45+
print(" download server")
46+
print(" grid-hub {start|stop|restart} [OPTIONS]")
47+
print(" grid-node {start|stop|restart} --hub=[HUB_IP] [OPTIONS]")
5048
print("")
5149

5250

@@ -104,7 +102,7 @@ def show_download_usage():
104102
print("")
105103
print(" Usage:")
106104
print(" seleniumbase download [ITEM]")
107-
print(" (Options: server")
105+
print(" (Choices: server)")
108106
print(" Example:")
109107
print(" seleniumbase download server")
110108
print(" Output:")

0 commit comments

Comments
 (0)