jcbhmr / go-anstyle

πŸ¦€ Rust anstyle crate & friends ported to Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

anstyle for Go

πŸ¦€ Rust anstyle project ported to Go

Docs | Original rust-cli/anstyle

  • anstyle: 🎨 ANSI color struct and interface
  • anstylegit: πŸ”Έ Parse Git color config to Style

Installation

Go

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>

Usage

Go

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:

Development

Go

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

About

πŸ¦€ Rust anstyle crate & friends ported to Go

License:MIT License


Languages

Language:Go 100.0%