Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ confirm Public

A dead simple CLI app that asks the user for a yes/no confirmation

License

romnn/confirm

Repository files navigation

confirm

Build status Go Report Card

A dead simple CLI app that asks the user for a yes/no confirmation.

brew install romnn/tap/confirm

# or install from source
go install 'github.com/romnn/confirm@main'

Usage

# will exit with code 1 when user does not confirm
confirm "are you sure you want to proceed?"

Development

To use the provided tasks in taskfile.yaml, install task.

# view all available tasks
task --list-all
# install development tools
task dev:tools:install

After setup, you can use the following tasks during development:

task tidy
task run:race
task run:race -- <your-arguments>
task build:race
task test
task lint
task format

About

A dead simple CLI app that asks the user for a yes/no confirmation

Topics

Resources

License

Stars

Watchers

Forks

Languages