This is a collection of tools for managing apps & servers on serverpilot.io.
go install github.com/jfortunato/serverpilot-tools@latest
Download & extract the latest binary for your platform from the releases page
serverpilot-tools servers list <client_id> <api_key>
serverpilot-tools apps list <client_id> <api_key>
serverpilot-tools apps list <client_id> <api_key> --created-after 2022-06-01 --created-before 2023-04-25
serverpilot-tools apps list <client_id> <api_key> --max-runtime php8.0
Only show apps that are known to be inactive. This checks public DNS records to see if they are pointed at the server. If the DNS records are behind CloudFlare, it will automatically detect that and you will need to provide your CloudFlare API credentials.
serverpilot-tools apps inactive <client_id> <api_key>
You can download the latest version from the releases page