spgctl 7.11.17

SPG command-line client — speaks the self-built wire protocol.
spgctl-7.11.17 is not a library.

SPG CLI.

Subcommands:

  • spg ping [addr] — sanity check the daemon is reachable.
  • spg query <sql> [addr] — send SQL, print the result or error.
  • spg stats [addr] — fetch server stats.
  • spg backup <src> <dst> — copy a .spgdb file with validation.
  • spg restore <src> <dst> — alias of backup (file-level symmetry).
  • spg version — print CLI version.