Skip to content

johnmccabe/go-bitbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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