Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.45 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.45 KB

go-bitbar logo

Travis Badge Go Report Card Badge GoDoc Badge

This repo contains a package for creating BitBar plugins in Go.

Usage

Creating a BitBar plugin is as simple as (see the godocs for more details):

package main

import "github.com/johnmccabe/go-bitbar"

func main() {
    app := bitbar.New()
    app.StatusLine("Hello")

    submenu := app.NewSubMenu()
    submenu.Line("World!")

    app.Render()
}

Examples