From a4c669ba6cef51ff4c8c04e2e67511ecd8746bf7 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Fri, 21 Feb 2025 21:30:02 +0100 Subject: [PATCH 01/19] fix --help --- bashpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashpack.sh b/bashpack.sh index b156c50..858f5a0 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -220,7 +220,7 @@ else && echo " -v, --version display version." \ && echo " -l, --list list available subcommands (local and remote). " \ && echo " -g, --get install a subcommand." \ - && echo " -n, --new get a template to create a subcommand." \ + && echo " -n, --new get a template to create a subcommand." \ && echo " -d, --delete uninstall a subcommand." \ && echo "" \ && echo "Commands ( --help to display usages):" \ From 4a34244bd8a49e8a792e1f7bba9f84a2728eea45 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Fri, 21 Feb 2025 21:31:25 +0100 Subject: [PATCH 02/19] fix --help --- bashpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashpack.sh b/bashpack.sh index 858f5a0..043d271 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -225,7 +225,7 @@ else && echo "" \ && echo "Commands ( --help to display usages):" \ && echo " verify" \ - && echo "$(ls $dir_commands 2> /dev/null | sed "s/^/ /g")" \ + && echo "$(ls $dir_commands 2> /dev/null | sed 's|\..*||')" \ && echo "\n$NAME $VERSION" \ && exit ;; esac From 80742e276b792b9dd9136f65bd77ad07393631b6 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Fri, 21 Feb 2025 21:32:45 +0100 Subject: [PATCH 03/19] fix --help --- bashpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashpack.sh b/bashpack.sh index 043d271..9d19c8b 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -225,7 +225,7 @@ else && echo "" \ && echo "Commands ( --help to display usages):" \ && echo " verify" \ - && echo "$(ls $dir_commands 2> /dev/null | sed 's|\..*||')" \ + && echo "$(ls $dir_commands 2> /dev/null | sed 's|\..*||' | sed 's|^| |')" \ && echo "\n$NAME $VERSION" \ && exit ;; esac From 188bf2582072d95535df85afa252de799169f9b2 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 11:40:52 +0100 Subject: [PATCH 04/19] fix completion --- bashpack.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/bashpack.sh b/bashpack.sh index 9d19c8b..df3bfb1 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -815,10 +815,15 @@ fi # Usage: create_completion create_completion() { - local file_command="$1" - local command="$(echo $(basename $file_command))" + local command="$1" + # local file_command="$(echo $(basename $command))" + # local file_command="$(echo $(basename $command.sh))" + local file_command="$command.sh" + # echo file_command $file_command + # echo command $command + # List all options of any file that is a CLI # Usage: get_options get_options() { @@ -831,7 +836,9 @@ create_completion() { # Install completion only if the directory has been found. if [ -d "$dir_completion" ]; then - if [ "$file_command" = "$CURRENT_CLI" ]; then + # if [ "$file_command" = "$CURRENT_CLI" ]; then + # if [ "$file_command" = "$NAME_LOWERCASE.sh" ]; then + if [ "$(echo $file_command | grep $NAME_LOWERCASE)" ]; then if [ -f "$file_completion" ]; then rm -f $file_completion @@ -876,6 +883,7 @@ create_completion() { sed -i "s|\(1) COMPREPLY.*\)\"|\1 $command\"|" $file_completion fi + if [ -f "$file_completion" ] && [ -f "$file_completion_alias_1" ] && [ -f "$file_completion_alias_2" ]; then log_info "completion ready." else From 7717e55221ef4f57e59a6c62a282caddb3a85b7a Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 11:45:31 +0100 Subject: [PATCH 05/19] edit CHANGELOG --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 721b7bf..2608315 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ The released versions changelogs below are only about the main repository. +### *incoming version* +*incoming release date* + +##### Fixed +- Automatic completion creation + +------------ ### 3.0.0 *2025/02/21* From a476d29627e601a9d66cc4714ae3ccb5c5da00c2 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 15:43:59 +0100 Subject: [PATCH 06/19] split verify subcommand --- CHANGELOG.md | 3 +++ bashpack.sh | 16 +++------------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2608315..778db25 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ The released versions changelogs below are only about the main repository. ### *incoming version* *incoming release date* +##### Modified +- Builtin subcommand "verify" splitted in --verify-* options + ##### Fixed - Automatic completion creation diff --git a/bashpack.sh b/bashpack.sh index df3bfb1..c0adb3b 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -2288,21 +2288,11 @@ case "$1" in --logs) get_logs "$file_log_main" ;; -l|--list) loading_process "subcommand_list $2" ;; -g|--get) loading_process "subcommand_get $2" ;; - # -g|--get) loading_process "subcommand_update $2" ;; -d|--delete) subcommand_delete $2 $3 ;; -n|--new) subcommand_new $2 $3 ;; - verify) - if [ -z "$2" ]; then - loading_process "verify_dependencies $3"; loading_process "verify_files"; loading_process "verify_repository_reachability $(match_url_repository $(get_config_value $file_config cli_url) github_raw)" - else - case "$2" in - -f|--files) loading_process "verify_files $3" ;; - -d|--dependencies) loading_process "verify_dependencies $3" ;; - # -r|--repository) loading_process "verify_repository_reachability "$URL_RAW/main/$NAME_LOWERCASE.sh""; loading_process "verify_repository_reachability "$URL_API/tarball/$VERSION"" ;; - -r|--repository) loading_process "verify_repository_reachability $(match_url_repository $(get_config_value $file_config cli_url) github_raw)" ;; - *) log_error "unknown option [$1] '$2'." && echo "$USAGE" && exit ;; - esac - fi ;; + --verify-files) loading_process "verify_files $3" ;; + --verify-dependencies) loading_process "verify_dependencies $3" ;; + --verify-repository) loading_process "verify_repository_reachability $(match_url_repository $(get_config_value $file_config cli_url) github_raw)" ;; # 'self' is a word used in many operations for the CLI, it's preferable to not allow it in subcommand name self) log_error "reserved operation." && exit ;; # Since "export -f" is not available in Shell, the helper command below permits to use commands from this file in sub scripts From 97619607fde3670f96e4768d23ffa5709f703529 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 15:46:43 +0100 Subject: [PATCH 07/19] split verify subcommand --- bashpack.sh | 54 +++++++++++++---------------------------------------- 1 file changed, 13 insertions(+), 41 deletions(-) diff --git a/bashpack.sh b/bashpack.sh index c0adb3b..6c4c9d1 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -179,52 +179,24 @@ if [ -z "$1" ]; then else case "$1" in -v|--version) echo $VERSION && exit ;; - # command) - # case "$2" in - # --help) echo "$USAGE" \ - # && echo "" \ - # && echo "Manage $NAME sub commands." \ - # && echo "" \ - # && echo "Options:" \ - # && echo " -l, --list list available commands." \ - # && echo " -g, --get install a command." \ - # && echo " -d, --delete remove a command." \ - # && echo "" \ - # && echo "$NAME $VERSION" \ - # && exit ;; - # esac - # ;; - verify) - case "$2" in - --help) echo "$USAGE" \ - && echo "" \ - && echo "Verify current $NAME installation health." \ - && echo "" \ - && echo "Options:" \ - && echo " -f, --files check that all required files are available." \ - && echo " -d, --dependencies check that required dependencies are available." \ - && echo " -r, --repository check that remote repository is reachable." \ - && echo "" \ - && echo "$NAME $VERSION" \ - && exit ;; - esac - ;; -h|--help|help) echo "$USAGE" \ && echo "" \ && echo "Options:" \ - && echo " -i, --self-install install (or reinstall) $NAME on your system as the command '$NAME_ALIAS'." \ - && echo " -u, --self-update update $NAME to the latest available version (--force option available)." \ - && echo " --self-delete delete $NAME from your system." \ - && echo " --logs display logs." \ - && echo " -h, --help display this information." \ - && echo " -v, --version display version." \ - && echo " -l, --list list available subcommands (local and remote). " \ - && echo " -g, --get install a subcommand." \ - && echo " -n, --new get a template to create a subcommand." \ - && echo " -d, --delete uninstall a subcommand." \ + && echo " -i, --self-install install (or reinstall) $NAME on your system as the command '$NAME_ALIAS'." \ + && echo " -u, --self-update update $NAME to the latest available version (--force option available)." \ + && echo " --self-delete delete $NAME from your system." \ + && echo " -l, --list list available subcommands (local and remote). " \ + && echo " -g, --get install a subcommand." \ + && echo " -n, --new get a template to create a subcommand." \ + && echo " -d, --delete uninstall a subcommand." \ + && echo " --verify-files check that all required files are available." \ + && echo " --verify-dependencies check that required dependencies are available." \ + && echo " --verify-repository check that remote repository is reachable." \ + && echo " --logs display logs." \ + && echo " -h, --help display this information." \ + && echo " -v, --version display version." \ && echo "" \ && echo "Commands ( --help to display usages):" \ - && echo " verify" \ && echo "$(ls $dir_commands 2> /dev/null | sed 's|\..*||' | sed 's|^| |')" \ && echo "\n$NAME $VERSION" \ && exit ;; From 1be87de08597a611883ffa10a9301a1aef0e6bba Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 15:48:51 +0100 Subject: [PATCH 08/19] fix --help --- bashpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashpack.sh b/bashpack.sh index 6c4c9d1..7ad70d0 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -185,7 +185,7 @@ else && echo " -i, --self-install install (or reinstall) $NAME on your system as the command '$NAME_ALIAS'." \ && echo " -u, --self-update update $NAME to the latest available version (--force option available)." \ && echo " --self-delete delete $NAME from your system." \ - && echo " -l, --list list available subcommands (local and remote). " \ + && echo " -l, --list list available subcommands (local and remote). " \ && echo " -g, --get install a subcommand." \ && echo " -n, --new get a template to create a subcommand." \ && echo " -d, --delete uninstall a subcommand." \ From a6f9375357cb3b5915111c0e08e53b65a1a6a984 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 15:58:32 +0100 Subject: [PATCH 09/19] improve log message --- bashpack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bashpack.sh b/bashpack.sh index 7ad70d0..8699158 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -857,9 +857,9 @@ create_completion() { if [ -f "$file_completion" ] && [ -f "$file_completion_alias_1" ] && [ -f "$file_completion_alias_2" ]; then - log_info "completion ready." + log_info "completion for '$command' ready." else - log_error "completion not ready." + log_error "completion for '$command' not ready." fi else From 9fa76b4986d1f88d69754d68d3257f7a26b0d179 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 16:18:10 +0100 Subject: [PATCH 10/19] fix completion --- bashpack.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bashpack.sh b/bashpack.sh index 8699158..573532f 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -799,9 +799,11 @@ create_completion() { # List all options of any file that is a CLI # Usage: get_options get_options() { - cat $1 | sed 's/.*[ \t|]\(.*\)).*/\1/' | grep '^\-\-' | sort -ud | sed -Ez 's/([^\n])\n/\1 /g' + cat $1 | grep '\--.*)' | sed 's/\t*//' | sed 's/).*//' | sed 's/.*|//' | grep '^-' | sort -ud } + echo $(get_options $CURRENT_CLI) + if [ "$(exists_command "pkg-config")" = "exists" ]; then From 5b4c72ff2f23b887048f6808c85952ff55b059ef Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 16:18:47 +0100 Subject: [PATCH 11/19] fix completion --- bashpack.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/bashpack.sh b/bashpack.sh index 573532f..57f347c 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -802,7 +802,6 @@ create_completion() { cat $1 | grep '\--.*)' | sed 's/\t*//' | sed 's/).*//' | sed 's/.*|//' | grep '^-' | sort -ud } - echo $(get_options $CURRENT_CLI) if [ "$(exists_command "pkg-config")" = "exists" ]; then From 8f1a5f6c304c106f545fa6998052c05aa6e7beef Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 16:24:57 +0100 Subject: [PATCH 12/19] fix completion --- bashpack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashpack.sh b/bashpack.sh index 57f347c..0b14de7 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -799,7 +799,7 @@ create_completion() { # List all options of any file that is a CLI # Usage: get_options get_options() { - cat $1 | grep '\--.*)' | sed 's/\t*//' | sed 's/).*//' | sed 's/.*|//' | grep '^-' | sort -ud + cat $1 | grep '\--.*)' | sed 's|\t*||' | sed 's|).*||' | sed 's|.*\|||' | grep '^-' | sort -ud } From fc297cb86042a519aeaa381734b0da4117275a6c Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 17:37:00 +0100 Subject: [PATCH 13/19] fix completion --- bashpack.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bashpack.sh b/bashpack.sh index 0b14de7..07243ae 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -799,7 +799,7 @@ create_completion() { # List all options of any file that is a CLI # Usage: get_options get_options() { - cat $1 | grep '\--.*)' | sed 's|\t*||' | sed 's|).*||' | sed 's|.*\|||' | grep '^-' | sort -ud + cat $1 | grep '\--.*)' | sed 's/\t*//' | sed 's/).*//' | sed 's/.*|//' | grep '^-' | sort -ud } @@ -850,7 +850,8 @@ create_completion() { # Duplicate the line and make it unique with the "new" word to find and replace it with automatics values sed -i 's|\(_commandtofill.*\)|\1\n\1new|' $file_completion sed -i "s|_commandtofill\(.*new\).*|\t\t\t$command\1|" $file_completion - sed -i "s|_optionstofill\(.*\)new|$(get_options $dir_commands/$file_command)\1|" $file_completion + # sed -i "s|_optionstofill\(.*\)new|$(get_options $dir_commands/$file_command)\1|" $file_completion + sed -i "s|_optionstofill\(.*\)new|$(echo $(get_options $dir_commands/$file_command))\1|" $file_completion # Add the subcommand itself to the completion sed -i "s|\(1) COMPREPLY.*\)\"|\1 $command\"|" $file_completion From 5b4e35e2edf3f8f470d730217d698d345c056d71 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 17:37:16 +0100 Subject: [PATCH 14/19] fix completion --- bashpack.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/bashpack.sh b/bashpack.sh index 07243ae..ead0109 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -850,7 +850,6 @@ create_completion() { # Duplicate the line and make it unique with the "new" word to find and replace it with automatics values sed -i 's|\(_commandtofill.*\)|\1\n\1new|' $file_completion sed -i "s|_commandtofill\(.*new\).*|\t\t\t$command\1|" $file_completion - # sed -i "s|_optionstofill\(.*\)new|$(get_options $dir_commands/$file_command)\1|" $file_completion sed -i "s|_optionstofill\(.*\)new|$(echo $(get_options $dir_commands/$file_command))\1|" $file_completion # Add the subcommand itself to the completion From 5d7f53c42c795e05e03095e6a94d1e8735c36c0b Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 17:50:59 +0100 Subject: [PATCH 15/19] fix completion --- bashpack.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bashpack.sh b/bashpack.sh index ead0109..1c859ab 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -792,6 +792,8 @@ create_completion() { # local file_command="$(echo $(basename $command.sh))" local file_command="$command.sh" + local dir_commands="$dir_src_cli/commands" + # echo file_command $file_command # echo command $command @@ -851,6 +853,7 @@ create_completion() { sed -i 's|\(_commandtofill.*\)|\1\n\1new|' $file_completion sed -i "s|_commandtofill\(.*new\).*|\t\t\t$command\1|" $file_completion sed -i "s|_optionstofill\(.*\)new|$(echo $(get_options $dir_commands/$file_command))\1|" $file_completion + # sed -i "s|_optionstofill\(.*\)new|$(echo $(get_options $dir_src_cli/commands/$file_command))\1|" $file_completion # Add the subcommand itself to the completion sed -i "s|\(1) COMPREPLY.*\)\"|\1 $command\"|" $file_completion @@ -2176,13 +2179,11 @@ install_cli() { fi # Reinstall all automations and completion of the subcommands + local dir_commands="$dir_src_cli/commands" # Force using the $dir_command of the installed CLI to avoid the local installed subcommands if [ -d "$dir_commands" ]; then if [ "$(ls $dir_commands)" ]; then for command in $dir_commands/*; do - # echo $command - # echo $dir_commands/$command - local command_name="$(echo $command | sed 's|^.*/\(.*\)\..*|\1|')" # Ensure the command needs to be initialized From a2d82ce08d4ad57f78f33ebc4a2b0ab8ce9a65d4 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 18:11:27 +0100 Subject: [PATCH 16/19] fix installation process in case of using -i from already installed CLI because the file copy would fail --- bashpack.sh | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/bashpack.sh b/bashpack.sh index 1c859ab..8b128fd 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -861,9 +861,9 @@ create_completion() { if [ -f "$file_completion" ] && [ -f "$file_completion_alias_1" ] && [ -f "$file_completion_alias_2" ]; then - log_info "completion for '$command' ready." + log_info "completion of '$command' ready." else - log_error "completion for '$command' not ready." + log_error "completion of '$command' not ready." fi else @@ -2102,19 +2102,20 @@ install_cli() { # Depending on what version an update is performed, it can happen that cp can't overwrite a previous symlink # Remove them to allow installation of the CLI - if [ -f "$file_main_alias_1" ] || [ -f "$file_main_alias_2" ]; then - rm -f $file_main_alias_1 - if [ ! -f "$file_main_alias_1" ]; then - log_info "file '$file_main_alias_1' removed." - fi + if [ "$(echo $CURRENT_CLI | grep $NAME_LOWERCASE.sh)" ]; then + if [ -f "$file_main_alias_1" ] || [ -f "$file_main_alias_2" ]; then + rm -f $file_main_alias_1 + if [ ! -f "$file_main_alias_1" ]; then + log_info "file '$file_main_alias_1' removed." + fi - rm -f $file_main_alias_2 - if [ ! -f "$file_main_alias_2" ]; then - log_info "file '$file_main_alias_2' removed." + rm -f $file_main_alias_2 + if [ ! -f "$file_main_alias_2" ]; then + log_info "file '$file_main_alias_2' removed." + fi fi fi - # Sources files installation if [ ! -d "$dir_src_cli" ]; then log_info "$dir_src_cli not found, creating it." @@ -2144,7 +2145,13 @@ install_cli() { # Or do the basic offline installation else - cp -f $CURRENT_CLI $file_main + # Avoid non copy file in case of installing from current installed CLI (because an error will be raised saying source and destination are same files) + if [ "$(cat $CURRENT_CLI)" != "$(cat $file_main)" ]; then + cp -f $CURRENT_CLI $file_main + + # Autocompletion installation + create_completion $CURRENT_CLI + fi fi if [ -f "$file_main" ]; then @@ -2168,10 +2175,6 @@ install_cli() { echo "$(cat $CURRENT_CLI | grep -A 21 "MIT License" | head -n 21)" > "$dir_src_cli/LICENSE.md" - # Autocompletion installation - create_completion $CURRENT_CLI - - # Delete all automations because some of them might have changed # if [ "$(ls $dir_systemd/$NAME_LOWERCASE*)" ]; then if [ "$(ls $dir_systemd/$NAME_LOWERCASE*)" ]; then From ed81d027a2a5912b4be0de69f6b05d44781d2a56 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 18:12:43 +0100 Subject: [PATCH 17/19] edit CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 778db25..87ac89c 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ The released versions changelogs below are only about the main repository. ##### Fixed - Automatic completion creation +- Using -i option from an already installed CLI could cause an error saying both source and destination are same files ------------ ### 3.0.0 From 9366271910b8e4ed89a979a293f3bac638dbab37 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 18:28:02 +0100 Subject: [PATCH 18/19] edit CHANGELOG --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87ac89c..ba04d12 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ The released versions changelogs below are only about the main repository. *incoming release date* ##### Modified -- Builtin subcommand "verify" splitted in --verify-* options +- Builtin subcommand "verify" splitted in "--verify-*" options ##### Fixed - Automatic completion creation @@ -22,7 +22,7 @@ The released versions changelogs below are only about the main repository. - Anyone can now host a repository for its own CLI (edit cli_url option from the configuration file) - Repositories are compatibles with Github, but can also be simple directories listing web servers - Documentation website at https://bashpack-project.github.io -- Subcommand template is available with the option "-n' +- Subcommand template is available with the option "-n" ##### Modified - The CLI has been redesigned has a "script manager", to download/install/run/remove scripts as subcommands From 819c9da830aa2ac9276eeda31b2465b2ea008527 Mon Sep 17 00:00:00 2001 From: ggtrd Date: Sun, 23 Feb 2025 18:33:48 +0100 Subject: [PATCH 19/19] 3.0.1 --- CHANGELOG.md | 4 ++-- bashpack.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba04d12..6a20289 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ The released versions changelogs below are only about the main repository. -### *incoming version* -*incoming release date* +### *3.0.1* +*2025/02/23* ##### Modified - Builtin subcommand "verify" splitted in "--verify-*" options diff --git a/bashpack.sh b/bashpack.sh index 8b128fd..0d5a546 100755 --- a/bashpack.sh +++ b/bashpack.sh @@ -30,7 +30,7 @@ -export VERSION="3.0.0" +export VERSION="3.0.1" export NAME="Bashpack" export NAME_LOWERCASE="$(echo "$NAME" | tr A-Z a-z)"