Helpers for creating CLIs with serializable output.
This package is largely based on code from Aptos CLI.