Swiftpack.co - fogusbogus/ColorConsole as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by fogusbogus.
fogusbogus/ColorConsole 1.0.1
Very simple enumeration-based color manipulator for console output
⭐️ 0
🕓 1 year ago
.package(url: "https://github.com/fogusbogus/ColorConsole.git", from: "1.0.1")

ColorConsole

Returns the Unicode coloring convention for console output. Note this will not work in the debug console (March 2023).

How to use example:

` import ColorConsole

print(ColorConsoleCodes.red.foreground(.underline) + "This is underlined an in red text" + ColorConsoleCodes.default.foreground()) `

GitHub

link
Stars: 0
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics