Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kud/soap-cli
An app cleaner cli for macOS
https://github.com/kud/soap-cli
appcleaner homebrew homebrew-cask macos
Last synced: 22 days ago
JSON representation
An app cleaner cli for macOS
- Host: GitHub
- URL: https://github.com/kud/soap-cli
- Owner: kud
- Created: 2022-12-28T16:47:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-24T14:44:39.000Z (about 1 year ago)
- Last Synced: 2024-04-14T12:57:14.865Z (7 months ago)
- Topics: appcleaner, homebrew, homebrew-cask, macos
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@kud/soap-cli
- Size: 139 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Soap ๐งผ - An app cleaner cli for macOS
> I was so lazy to use any GUI to clean my macOS. - @kud
A simple command in your shell to remove the application you want to delete and the related files as well (like preferences, logs, `.dmg`, cask formula).
## Motivation
I used to use AppCleaner and [App Eraser](https://github.com/davunt/app-eraser) but the first one is not open source (and could have trackers) and the second one is not a CLI but a GUI. Here comes _soap_.
## Install
```shell
npm install -g @kud/soap-cli
```## Usage
You've got two ways to uninstall an application, via its path or via its cask name.
#### Application path
```shell
soap
# ex: soap '/Applications/Android Studio.app'
```_warning: it won't remove the cask formula even if you've installed the app via homebrew._
#### Cask name
```shell
soap
# ex: soap android-studio
```It will delete for instance this kind of files:
```
/Applications/Android Studio.app
/Users/kud/Downloads/android-studio-ide-182.5314842-mac.dmg
/Users/kud/Library/Preferences/com.google.android.studio.plist
/Users/kud/Library/Saved Application State/com.google.android.studio.savedState
/Users/kud/Library/Application Support/google/AndroidStudio4.2
/Users/kud/Library/Caches/google/AndroidStudio4.2
/Users/kud/Library/Logs/google/AndroidStudio4.2
```No worries, soap will move them into your Trash, so if something wrong has happened, you can check there your files.
## Credits
Inspired from [App Eraser](https://github.com/davunt/app-eraser)