The following deletes all pages whose page title matches the regex provided in all the spaces listed by key. This is used once the new release is available and the SNAPSHOT documentation is no longer needed.
confluence -a runFromList --list ACLI,CSOAP,JCLI,BCLI,SCLI,FCLI,CRUCLI --common "--action runFromPageList --space @entry@ --regex .*3.9.0-SNAPSHOT.* --common \"-a removePage --id @pageId@\" "