2 Commits

Author SHA1 Message Date
64d08a0de3 functionality: BetterHelp
All checks were successful
Lint / shellcheck (push) Successful in 19s
Release Standalone Builder / build (release) Successful in 32s
Release Standalone Builder / publish-aur (release) Successful in 35s
2026-03-16 10:33:21 +01:00
dd18bc3367 docs: update readme
All checks were successful
Lint / shellcheck (push) Successful in 39s
2026-03-16 09:33:45 +01:00
3 changed files with 9 additions and 4 deletions

View File

@@ -100,7 +100,6 @@ favicon = ""
## Credits ## Credits
- Markdown to html conversion based on [markdown.bash](https://github.com/chadbraunduin/markdown.bash) by [chadbraunduin](https://github.com/chadbraunduin)
- Default css style and html template based on _[kew](https://github.com/uint23/kew)_ by [uint23](https://github.com/uint23) - Default css style and html template based on _[kew](https://github.com/uint23/kew)_ by [uint23](https://github.com/uint23)
>[!WARNING] >[!WARNING]

11
kewt.sh
View File

@@ -6,7 +6,7 @@ die() {
} }
usage() { usage() {
invoked_as="${KEWT_INVOKED_AS:-$0}" invoked_as=$(basename "${KEWT_INVOKED_AS:-$0}")
cat <<EOF cat <<EOF
Usage: $invoked_as [--from <src>] [--to <out>] Usage: $invoked_as [--from <src>] [--to <out>]
$invoked_as [src] [out] $invoked_as [src] [out]
@@ -155,7 +155,14 @@ ensure_root_defaults
src="${src%/}" src="${src%/}"
out="${out%/}" out="${out%/}"
[ -d "$src" ] || die "Source directory '$src' does not exist." if [ ! -d "$src" ]; then
if [ "$src" = "site" ]; then
usage
exit 1
else
die "Source directory '$src' does not exist."
fi
fi
IGNORE_ARGS="-name '.kewtignore' -o -path '$src/.*'" IGNORE_ARGS="-name '.kewtignore' -o -path '$src/.*'"

View File

@@ -100,7 +100,6 @@ favicon = ""
## Credits ## Credits
- Markdown to html conversion based on [markdown.bash](https://github.com/chadbraunduin/markdown.bash) by [chadbraunduin](https://github.com/chadbraunduin)
- Default css style and html template based on _[kew](https://github.com/uint23/kew)_ by [uint23](https://github.com/uint23) - Default css style and html template based on _[kew](https://github.com/uint23/kew)_ by [uint23](https://github.com/uint23)
>![WARNING] >![WARNING]