diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-07 17:42:30 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-07 17:42:30 +0200 |
| commit | 804a499754f5fec2db465effb174448d924e344e (patch) | |
| tree | 7ab90f0361813aab8371a95e751fbe41f07762f1 /CLAUDE.md | |
| parent | 03b2f896062ce689df655160328381004b3ad26d (diff) | |
| download | mkhintfile-804a499754f5fec2db465effb174448d924e344e.tar.gz mkhintfile-804a499754f5fec2db465effb174448d924e344e.zip | |
- Rename script and completion file to mkhint/mkhint.bash-completion
- Add --delete/-d flag to remove one or more hint files (and .bak if present)
- Fix bash completion: correct hint_dir path, use find for nested .info files,
add --delete completion, add flag name completion
- Update all references in CLAUDE.md, README.md, and source files
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
| -rw-r--r-- | CLAUDE.md | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -4,11 +4,11 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## What This Is -`mkhintfile.sh` — bash utility for managing [slackrepo](https://idlemoor.github.io/slackrepo/) hint files. Hint files override build variables (version, download URL, checksum) for SlackBuilds. +`mkhint` — bash utility for managing [slackrepo](https://idlemoor.github.io/slackrepo/) hint files. Hint files override build variables (version, download URL, checksum) for SlackBuilds. ## Configuration -Two paths hardcoded near top of `mkhintfile.sh` (lines 16–17): +Two paths hardcoded near top of `mkhint` (lines 16–17): ```bash REPO_DIR="/var/lib/sbopkg/SBo-danix/" # SBo repository with .info files @@ -22,12 +22,12 @@ Bash completion script has its own hardcoded copies (lines 8–9) — keep in sy No build step. Direct execution: ```bash -bash mkhintfile.sh --help -bash mkhintfile.sh --list -bash mkhintfile.sh --version 2.0.1 --hintfile mypackage -bash mkhintfile.sh --version 1.2.3 --new mypackage -bash mkhintfile.sh --new mypackage # empty hint, no version -bash mkhintfile.sh --clean +bash mkhint --help +bash mkhint --list +bash mkhint --version 2.0.1 --hintfile mypackage +bash mkhint --version 1.2.3 --new mypackage +bash mkhint --new mypackage # empty hint, no version +bash mkhint --clean ``` No test suite exists. Test manually against real `REPO_DIR`/`HINT_DIR` or with mock directories. @@ -52,6 +52,6 @@ No test suite exists. Test manually against real `REPO_DIR`/`HINT_DIR` or with m ## Installation ```bash -sudo cp mkhintfile.sh /usr/local/bin/mkhintfile -sudo cp mkhintfile.bash-completion /etc/bash-completion.d/mkhintfile +sudo cp mkhint /usr/local/bin/mkhint +sudo cp mkhint.bash-completion /etc/bash-completion.d/mkhint ``` |
