Version, and Release bump, fixed dependency issues

This commit is contained in:
2025-05-11 23:25:48 +02:00
parent 7a857c57f9
commit e6138ddc72
19 changed files with 1184 additions and 6 deletions

24
comp.sh Normal file → Executable file
View File

@@ -3,8 +3,30 @@
# Usage: comp <folder_to_compress> [output_fildename]
# Check if input folder is provided
VERSION="__VERSION__"
if [[ -z "$1" ]]; then
echo "Usage: comp <folder_to_compress> [output_filename]"
echo "Usage: comp <folder_or_file_to_compress> [output_file]"
echo "comp <options>"
exit 1
elif [[ "$1" == "-h" || "$1" == "--help" ]]; then
echo "Usage:"
echo " comp <folder_or_file_to_compress> [output_file]"
echo " comp <option>"
echo ""
echo "Options:"
echo " -h --help: Print's this message"
echo " -v --version: Ptints the current version"
exit 0
elif [[ "$1" == "-v" || "$1" == "--version" ]]; then
echo "comp version: $VERSION"
exit 0
elif [[ ! -d "$1" || ! -f "$1" ]]; then
echo "Invalid argument '$1'"
echo "Usage:"
echo " comp <folder_to_compress> [output_file]"
echo " comp <option>"
exit 1
fi