feat: Auto updator

This commit is contained in:
2026-06-20 13:24:52 +05:30
parent e29dfd27b5
commit bf1529b354
8 changed files with 200 additions and 13 deletions

View File

@@ -44,6 +44,13 @@ b con i3
It automatically fuzzy-finds the folder in case there is no exact match.
To check for updates and update the tool manually:
```bash
b up
# Or to force a reinstall of the CLI files:
b up --force
```
## Uninstallation
@@ -55,6 +62,13 @@ b bye
Then reload your shell configuration or run `unset -f b` to clear the function definition from your current terminal session.
## Development
If you are developing this tool locally:
1. Clone the repository.
2. Run `./bootstrap.sh` to install the CLI from your local copy. This will also automatically install a Git pre-commit hook (`scripts/pre-commit`) that auto-increments the patch version in the `VERSION` file on each commit.
## Philosophy
These scripts are designed for my own systems first.