jakewarren / hr

generate horizontal rule (hr) for terminals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hr

MIT License Go Report Card PRs Welcome

generate horizontal rule (hr) for terminals

Install

go get github.com/jakewarren/hr/...

Usage

As a CLI

screenshot

As a library

package main

import (
	"fmt"

	"github.com/jakewarren/hr"
)

func main() {
	fmt.Println(hr.HorizontalRule("-"))
}

Acknowledgements

Heavily based on sashka/hr.
Format specification adapted from LuRsT/hr.

License

MIT © 2019 Jake Warren

About

generate horizontal rule (hr) for terminals

License:MIT License


Languages

Language:Go 100.0%