fiber

command module
v0.0.0-...-ce9aca6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 8 Imported by: 0

README

gorepo

Tricky and fun ansi text utilities for Go programs. The obligatory ANSI CLI module predominantly from the Go standard library.


GitHub Workflow Status Codecov Contributor Covenant

Twitter Follow GitHub followers


Getting Started

Prerequisites

Developed with Go 1.15.5 darwin/amd64 (macOS Big Sur) Tested on Go 1.13+


Installation

The easiest way is to clone the repository with Go and install from there.

# add repo to $GOPATH
go get github.com/skeptycal/anansi

cd ${GOPATH}/src/github.com/skeptycal/anansi

go test -v

go install


Basic Usage

This is a copy of the sample script available in the sample folder:

package main

import "github.com/skeptycal/anansi"

func main() {
    anansi.Sample()
}

To try it out:

# change to the sample folder
cd sample

# run the main.go program
go run ./main.go

# You should see the following output demonstrating various color combinations.

sample foreground colors sample foreground colors


Code of Conduct and Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us. Please read the Code of Conduct for details before submitting anything.


Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.


Contributors

  • Michael Treanor (GitHub / Twitter) - Initial work, updates, maintainer
  • Francesc Campoy - Inspiration and great YouTube videos!

See also the list of contributors who participated in this project.

Much of the basic types, constants, and terminal checks in 'anansi_const.go' are based on the very popular and well documented color package.


License

Licensed under the MIT https://opensource.org/licenses/MIT - see the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL