main #1

Closed
othman.suseno wants to merge 25 commits from main into development
Showing only changes of commit 4ad93e7fe5 - Show all commits

View File

@@ -712,8 +712,14 @@ func env(key, def string) string {
}
MAINGO
# Create atlas-tui/main.go
cat > ./cmd/atlas-tui/main.go <<'MAINGO'
# Create/update atlas-tui/main.go
if [[ ! -f "./cmd/atlas-tui/main.go" ]]; then
echo " Creating cmd/atlas-tui/main.go..."
else
echo " Updating cmd/atlas-tui/main.go..."
fi
cat > ./cmd/atlas-tui/main.go <<'MAINGO'
package main
import (
@@ -753,10 +759,7 @@ func main() {
}
MAINGO
echo -e "${GREEN}Created cmd/ directory structure${NC}"
else
echo " Updating cmd/atlas-tui/main.go..."
fi
echo -e "${GREEN}cmd/ directory structure ready${NC}"
# Verify cmd files exist now
if [[ ! -f "./cmd/atlas-api/main.go" ]]; then