From 2eaf912bc419266c521343fda1279f2467c87dbe Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 7 Jul 2026 19:30:17 +0200 Subject: feat: --force completion + bundle-manifests.example Co-Authored-By: Claude Opus 4.8 --- bundle-manifests.example | 9 +++++++++ mkhint.bash-completion | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 bundle-manifests.example 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: +# {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="" -- cgit v1.2.3