#!/bin/bash # Instance Commands Header # Shows available instance commands and help information cliShowInstanceHelp() { echo "" echo "Available Instance Commands (* is required):" echo "" echo " Run more than one copy of a multi-instance-capable app (e.g. two" echo " Bookstack/WordPress sites). Each instance is a full, isolated app:" echo " its own data, DB, subdomain, backups and update cadence. Only apps" echo " with CFG__MULTI_INSTANCE=true can be instanced." echo "" echo " libreportal instance create [type*] [name*] [domain#] [subdomain]" echo " - Provision + install a new instance." echo " type = base app slug (e.g. bookstack)" echo " name - instance name (e.g. blog)" echo " domain# - which CFG_DOMAIN_n to route on (default 1)" echo " subdomain- host label (default -)" echo " libreportal instance remove [slug*] - Uninstall + remove an instance (e.g. bookstack_blog)" echo " libreportal instance list [type] - List instances (all, or just for one app type)" echo "" }