aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-07 19:30:17 +0200
committerDanilo M. <danix@danix.xyz>2026-07-07 19:30:17 +0200
commit2eaf912bc419266c521343fda1279f2467c87dbe (patch)
tree29b18eb682d0a539d243b7e534dd65807ba0d33a
parent79e4425a07ed3b57199eefb65b525485448c31f5 (diff)
downloadmkhintfile-2eaf912bc419266c521343fda1279f2467c87dbe.tar.gz
mkhintfile-2eaf912bc419266c521343fda1279f2467c87dbe.zip
feat: --force completion + bundle-manifests.example
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
-rw-r--r--bundle-manifests.example9
-rw-r--r--mkhint.bash-completion2
2 files changed, 10 insertions, 1 deletions
diff --git a/bundle-manifests.example b/bundle-manifests.example
new file mode 100644
index 0000000..d3fda7f
--- /dev/null
+++ b/bundle-manifests.example
@@ -0,0 +1,9 @@
+# mkhint bundle-manifests — packages whose extra DOWNLOAD lines are driven by an
+# upstream deps manifest. Copy to ~/.config/mkhint/bundle-manifests and edit.
+#
+# Format: <pkgname> <deps-url-template>
+# {VERSION} is replaced with the hint's version at check time (both '_' and '-'
+# forms are tried). One entry per line; '#' comments and blank lines ignored.
+#
+# Example (neovim publishes cmake.deps/deps.txt with pinned dep URLs):
+# neovim https://raw.githubusercontent.com/neovim/neovim/v{VERSION}/cmake.deps/deps.txt
diff --git a/mkhint.bash-completion b/mkhint.bash-completion
index 526e773..0de0115 100644
--- a/mkhint.bash-completion
+++ b/mkhint.bash-completion
@@ -14,7 +14,7 @@ _mkhintfile_completions() {
hint_dir="${HINT_DIR:-$hint_dir}"
repo_dir="${repo_dir%/}"; hint_dir="${hint_dir%/}"
- local all_flags="--version -v --set-version -V --hintfile -f --new -n --list -l --review -R --clean -c --check -C --fix-current -F --delete -d --no-dl -N --help -h"
+ local all_flags="--version -v --set-version -V --hintfile -f --new -n --list -l --review -R --clean -c --check -C --fix-current -F --delete -d --no-dl -N --force --help -h"
# -R/--review and -l/--list take any number of hint names; complete them repeatedly.
local w in_review=""