Add self-update command to refresh miaur from Git

Introduce `miaur self-update` / `--self-update` that clones RepoUrl@Branch,
detects user vs system install prefix, and reinstalls in place. Configurable
via conf/env; supports --noconfirm, --repo-url, and --branch.

Co-authored-by: Frank Vitrano <WHC2006@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-07-23 14:44:24 +00:00
co-authored by Frank Vitrano
parent bba71040d6
commit a4f4767c47
11 changed files with 293 additions and 8 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# shellcheck disable=SC2034
# Common utilities for miaur
MIAUR_VERSION="0.1.0"
MIAUR_VERSION="0.2.0"
# Colors (respect pacman Color / NO_COLOR / non-tty)
_miaur_color_enabled() {