mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Added color for readme
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
496ccc25ec
commit
53fd7bf9c1
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ class ViewPackage:
|
|||
GREEN = color['GREEN']
|
||||
BLUE = color['BLUE']
|
||||
YELLOW = color['YELLOW']
|
||||
CYAN = color['CYAN']
|
||||
ENDC = color['ENDC']
|
||||
|
||||
for package in packages:
|
||||
|
@ -51,4 +52,4 @@ class ViewPackage:
|
|||
f'Files: {GREEN}{info[7]}{ENDC}\n'
|
||||
f'Description: {GREEN}{info[8]}{ENDC}\n'
|
||||
f'SBo url: {BLUE}{self.sbo_repo_url}/{info[9]}/{info[0]}{ENDC}\n'
|
||||
f'README: {readme.data.decode()}')
|
||||
f'README: {CYAN}{readme.data.decode()}{ENDC}')
|
||||
|
|
Loading…
Reference in a new issue