Michał Górny avatar Michał Górny committed bed722c

Add more colors to make output more readable.

Comments (0)

Files changed (2)

smartliverebuild/output.py

 	lime = '\033[1;32m'
 	brown = '\033[33m'
 	yellow = '\033[1;33m'
+	violet = '\033[35m'
 	cyan = '\033[36m'
 	turq = '\033[1;36m'
 	white = '\033[1;37m'

smartliverebuild/vcs/__init__.py

 
 		cmd = self.updatecmd
 		if self._opts.jobs > 1:
-			out.pkgs(str(self), cmd)
+			out.pkgs(str(self), '%s%s%s' % (out.violet, cmd, out.reset))
 		else:
-			out.pkgs(self._header, cmd)
+			out.pkgs(self._header, '%s%s%s' % (out.violet, cmd, out.reset))
 
 		popenargs['env'] = self.callenv
 		popenargs['shell'] = True
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.