| Crates.io | confirm |
| lib.rs | confirm |
| version | 0.1.0 |
| created_at | 2016-02-15 21:01:32.122635+00 |
| updated_at | 2016-02-15 21:01:32.122635+00 |
| description | Small utility program to confirm an action |
| homepage | |
| repository | https://github.com/vrinek/confirm |
| max_upload_size | |
| id | 4186 |
| size | 2,244 |
confirmA very simple command line program to confirm a chained action. It simply prompts the user and it exits cleanly for a positive response.
confirm && dangerous_command
# OR
confirm "Dangerous command ahead! Continue?" && dangerous_command
confirm; and dangerous_command
# OR
confirm "Dangerous command ahead! Continue?"; and dangerous_command