Files
zero-scale-platform/scripts/zero-scale-ctl.sh
Stephen Schuresko 4cc8733d1b feat: Add Zero-Scale Platform Management CLI with database provisioning and Kubernetes integration
- Implemented `database.go` for MySQL and PostgreSQL provisioning, including password generation and secret management.
- Created `k8s.go` for Kubernetes command execution, resource checks, and secret/configmap management.
- Developed `main.go` to handle CLI commands for applying configurations, checking status, logging, and managing applications.
- Added `storage.go` for binary deployment to the gateway pod and symlink configuration for application entrypoints.
- Enhanced CLI with commands for application management, including listing, deleting, and uploading binaries.
2026-10-11 23:31:54 -04:00

16 lines
555 B
Bash
Executable File

#!/usr/bin/env bash
# ==============================================================================
# Zero-Scale Platform Management CLI Wrapper
# Forwards to native Go implementation in cmd/zero-scale-ctl
# ==============================================================================
set -eo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)"
if [ -f "${ROOT_DIR}/zero-scale-ctl" ]; then
exec "${ROOT_DIR}/zero-scale-ctl" "$@"
else
exec go run "${ROOT_DIR}/cmd/zero-scale-ctl" "$@"
fi