add generate and read code from claude
This commit is contained in:
@@ -38,18 +38,6 @@ for arg in "$@"; do
|
||||
esac
|
||||
done
|
||||
|
||||
# Function to add entry to .gitignore if not already present
|
||||
add_to_gitignore() {
|
||||
local entry="$1"
|
||||
cat .gitignore | grep "$entry" >/dev/null 2>&1
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "$entry" >>.gitignore
|
||||
echo -e "${BLUE}Added $entry to .gitignore${NC}"
|
||||
else
|
||||
echo -e "${YELLOW}$entry already is inside of .gitignore file${NC}"
|
||||
fi
|
||||
}
|
||||
|
||||
echo -e "${BLUE}=== Project Sync Configuration ===${NC}"
|
||||
echo ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user