Ran autopg uninstall --help (v3.0.7) expecting usage text. It performed the uninstall:
autopg: uninstalled pm2 entries: autopg-server, autopg-ui (data dir preserved at ~/.autopg/data)
autopg: cleared supervisor record from ~/.autopg/admin.json
This took down a postmaster serving live local databases. Data was preserved and autopg install --port <same> recovered, but --help must never execute the verb. Presumably other subcommands ignore unknown flags the same way — worth a global unknown-flag guard.
Ran
autopg uninstall --help(v3.0.7) expecting usage text. It performed the uninstall:This took down a postmaster serving live local databases. Data was preserved and
autopg install --port <same>recovered, but--helpmust never execute the verb. Presumably other subcommands ignore unknown flags the same way — worth a global unknown-flag guard.