Skip to content

Commit

Permalink
refactor: minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushSehrawat committed May 25, 2023
1 parent c7960ce commit 1bed5aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions brain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m'
NC='\033[0m' # stands for No Color

readonly BRAIN_DIR="$HOME/.brain"
readonly VERSION_FILE="$HOME/.brain/version"
Expand Down Expand Up @@ -133,7 +133,7 @@ if [[ $1 =~ (neurons) ]]; then
fi
case "$3" in
"remote")
echo -e "Available packages:\n"
echo -e "${GREEN}Available packages:${NC}\n"
printf "%-30s %s\n" "Name" "Description"
NEURONS=$(curl -s https://api.github.com/repos/neobrains/brain/contents/neurons | jq -r '.[].name')
NEURONS_DESCRIPTION=$(curl -s https://raw.githubusercontent.com/neobrains/brain/main/descriptions.json)
Expand Down Expand Up @@ -215,4 +215,4 @@ case $1 in
usage
exit 1
;;
esac
esac

0 comments on commit 1bed5aa

Please sign in to comment.