From 5fa73fb0b1027e984893b47cce1a9376afd46f92 Mon Sep 17 00:00:00 2001 From: Dillon DuPont Date: Tue, 18 Nov 2025 08:46:50 -0500 Subject: [PATCH] Replace echo with printf --- scripts/install-cli.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install-cli.sh b/scripts/install-cli.sh index 4274a318..8bbb4b7b 100644 --- a/scripts/install-cli.sh +++ b/scripts/install-cli.sh @@ -10,12 +10,12 @@ print_success() { local version="$2" local config_file="$3" - echo -e "\033[32m✅ CUA CLI $version was installed successfully to $bin_path\033[0m" - echo -e "\033[90mAdded \"$bin_path\" to \$PATH in \"$config_file\"\033[0m" - echo -e "\n\033[90mTo get started, run:\033[0m" - echo -e " source $config_file" - echo -e " cua --help\n" - echo -e "\033[90m📚 For more help, visit: https://docs.cua.ai/libraries/cua-cli" + printf "\033[32m✅ CUA CLI %s was installed successfully to %s\033[0m\n" "$version" "$bin_path" + printf "\033[90mAdded \"%s\" to \$PATH in \"%s\"\033[0m\n" "$bin_path" "$config_file" + printf "\n\033[90mTo get started, run:\033[0m\n" + printf " source %s\n" "$config_file" + printf " cua --help\n" + printf "\033[90m📚 For more help, visit: https://docs.cua.ai/libraries/cua-cli\033[0m\n" } # Function to install with bun as fallback