Skip to content

abelfletcher/gofirm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

gofirm

gofirm provides a simple API for user confirmation from stdin

Example

import (
    "github.com/abelfletcher/gofirm"
)

func main() {
    if gofirm.Proceed("Create directory /home/stuff") {
        // create /home/stuff
    }
}

Installation

go get github.com/abelfletcher/gofirm

About

User confirmation from stdin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages