-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from sadielbartholomew/ascii-banner
Improve command output with text banner, colour and alignment
- Loading branch information
Showing
4 changed files
with
87 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
MEMORY_POWER_PER_GB = 0.3725 # W/GB | ||
|
||
CATS_ASCII_BANNER_COLOUR = """ | ||
\33[34mThe\33[35m.\33[34m\33[0m____ \33[35m..... \33[0m__ \33[35m.... \33[0m________ \33[35m. \33[0m______\33[35m... | ||
\33[35m.. \33[0m/ __)\33[35m.....\33[0m/ \\\33[35m....\33[0m(__ __)\33[35m.\33[0m) ____)\33[35m.... | ||
\33[35m..\33[0m| /\33[35m.......\33[0m/ \\\33[35m......\33[0m| |\33[35m...\33[0m( (___\33[35m........ | ||
\33[35m..\33[0m| |\33[34mlimate\33[35m.\33[0m/ () \\\33[34mware\33[35m.\33[0m| |\33[34mask\33[35m.\33[0m\\___ \\\33[34mcheduler | ||
\33[35m..\33[0m| \\__\33[35m...\33[0m| __ |\33[35m....\33[0m| |\33[35m....\33[0m____) )\33[35m.... | ||
\33[35m...\33[0m\\ )\33[35m..\33[0m| (\33[35m..\33[0m) |\33[35m....\33[0m| |\33[35m...\33[0m( (\33[35m..\33[0m | ||
""" | ||
|
||
# Same as above but without the colour codes, so not given custom colouring | ||
CATS_ASCII_BANNER_NO_COLOUR = """ | ||
The.____ ..... __ .... ________ . ______ ... | ||
.. / __)...../ \\....(__ __).) ____).... | ||
..| /......./ \\......| |...( (___........ | ||
..| |limate./ () \\ware.| |ask.\\___ \\cheduler | ||
..| \\__...| __ |....| |....____) ).... | ||
...\\ )..| (..) |....| |...( (.. | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters