#!/bin/bash # Setup Ente CLI for custom server echo "Setting up Ente CLI for custom server..." # Create config directory mkdir -p ~/.ente # Create the CLI config with custom endpoint cat > ~/.ente/config.yaml << EOF host: https://ente.due.ren EOF echo "Configuration created at ~/.ente/config.yaml" echo "" echo "Now you can add your account:" echo " ente account add" echo "" echo "Then use admin commands:" echo " ente admin update-subscription --admin-user admin@due.ren --user user@example.com --storage 1000 --valid-for 365"