/Color

Swift package to manage AINSI color on terminal

Primary LanguageSwiftMIT LicenseMIT

Color

Swift package to manage AINSI color on terminal


#Installation Put this line in your **Package.swift**: ```Swift import PackageDescription

let package = Package( name: "testColor", targets: [], dependencies: [ .Package(url: "https://github.com/remirobert/Color.git", majorVersion: 1), ] )


#How to use
```Swift
print("hello world" + Color.red)
print("hello world".addColor(Color.red))

//Chaining colors
print("hello world" + Color.black + Background.white + Style.bold)