https://github.com/clsty/resumablescript
Simple Bash function(script) enhancing control on execution and resilience on error handling
https://github.com/clsty/resumablescript
Last synced: about 2 months ago
JSON representation
Simple Bash function(script) enhancing control on execution and resilience on error handling
- Host: GitHub
- URL: https://github.com/clsty/resumablescript
- Owner: clsty
- License: mit
- Created: 2024-01-06T13:27:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-08T04:16:16.000Z (over 2 years ago)
- Last Synced: 2026-01-02T16:44:11.900Z (6 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ResumableScript
This Bash function(script) enhances control on execution and resilience on error handling.
With this function(script) added before a command, user will be propmted an option to execute the command, skip the command or exit.
And if the command failed to execute, user will be prompted an option to repeat this command (after manually solving the problem), ignore the error or exit.
# History
The function `v` is originally created as an ask-before-doing function for making improvements on the installation script of [end-4/dots-hyprland (branch: illogical_impulse)](https://github.com/end-4/dots-hyprland/tree/illogical-impulse). This function is written all by myself.
I iteratively improved it again and again. About several dozen hours on it was spent in total.
So, to save this heavy work for future me and other people using some bash scripts, I decided to create this repo.