mirror of
https://github.com/acedanger/shell.git
synced 2025-12-06 00:00:13 -08:00
feat: Add uninstall script for Fabric AI CLI with logging and OS detection
This commit is contained in:
11
.github/prompts/removefabric.prompt.md
vendored
Normal file
11
.github/prompts/removefabric.prompt.md
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
Create a portable bash shell script to safely uninstall the Fabric AI CLI and related packages on Debian, Ubuntu, and Fedora systems. The script must:
|
||||
|
||||
- Detect the operating system and select the appropriate package manager (`apt`, `dnf`, or `yum`).
|
||||
- Uninstall Fabric packages installed via system package managers and Python package managers (`pip`, `pip3`).
|
||||
- Check for errors after each removal step; abort the script if a critical error occurs.
|
||||
- Prompt the user for confirmation before making any changes.
|
||||
- Advise the user to reboot the system if required after uninstallation.
|
||||
- Log all actions and errors to a user-specified log file.
|
||||
- Be fully self-contained and compatible with bash.
|
||||
|
||||
Reference the official [Fabric documentation](https://github.com/danielmiessler/Fabric) and your distribution’s package manager documentation for implementation details.
|
||||
Reference in New Issue
Block a user