https://github.com/romnn/confirm
A dead simple CLI app that asks the user for a yes/no confirmation
https://github.com/romnn/confirm
cli confirm golang
Last synced: 16 days ago
JSON representation
A dead simple CLI app that asks the user for a yes/no confirmation
- Host: GitHub
- URL: https://github.com/romnn/confirm
- Owner: romnn
- License: mit
- Created: 2024-10-16T02:09:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-23T12:26:28.000Z (12 months ago)
- Last Synced: 2025-09-14T14:03:16.278Z (4 months ago)
- Topics: cli, confirm, golang
- Language: Go
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# confirm

[](https://goreportcard.com/report/github.com/romnn/confirm)
A dead simple CLI app that asks the user for a yes/no confirmation.
```bash
brew install romnn/tap/confirm
# or install from source
go install 'github.com/romnn/confirm@main'
```
#### Usage
```bash
# 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](https://taskfile.dev/).
```bash
# view all available tasks
task --list-all
# install development tools
task dev:tools:install
```
After setup, you can use the following tasks during development:
```bash
task tidy
task run:race
task run:race --
task build:race
task test
task lint
task format
```