Skip to content

About

A simple script to ask for user confirmation on shell commands

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

confirm.sh

A simple script to ask for user confirmation on shell commands

Usage

$ confirm 'u sure mate?' && rm somefile

Output:
u sure mate? [y/N]

or

$ confirm && rm somefile

Output:
Are you sure? [y/N]

Installing

git clone git@github.com:matheusbn/confirm.sh.git && cd confirm.sh && ./install.sh

About

A simple script to ask for user confirmation on shell commands

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages