π¦ Rust anstyle project ported to Go
|
Docs | Original rust-cli/anstyle
- anstyle: π¨ ANSI color
struct
andinterface
- anstylegit: πΈ Parse Git color config to
Style
You're reading the root monorepo readme. π Click the links above π to check out subproject-specific installation instructions.
Spoiler: it's go get github.com/jcbhmr/go-anstyle/<subproject>
package main
import (
"github.com/jcbhmr/go-anstyle/anstyle"
"github.com/jcbhmr/go-anstyle/anstylels"
"github.com/jcbhmr/go-anstyle/anstylesvg"
)
func main() {
// TODO
}
Alternatives:
- github.com/fatih/color β7.1k
Each of the Rust crates from the rust-cli/anstyle repository are ported to Go in this monorepo as separate Go modules, each with their own go.mod
file and their own version. Go monorepo versioning works if the Git tag starts with a <subfolder>/
prefix like anstyle/v0.1.0
.
- anstream
- anstyle-ansi-term
- anstyle-crossterm
- anstyle-git
- anstyle-lossy
- anstyle-ls
- anstyle-owo-colors
- anstyle-parse
- anstyle-query
- anstyle-roff
- anstyle-svg
- anstyle-syntect
- anstyle-termcolor
- anstyle-wincon
- anstyle-yansi
- anstyle
- colorchoice-clap
- colorchoice