Expand description

Helpers for creating CLIs with serializable JSON output.

This package is largely based on code from Aptos CLI.

Traits

A common trait for all CLI commands to have consistent outputs

Functions

For pretty printing outputs in JSON

Convert any successful response to Success

Type Definitions

A common result to be returned to users

A common result to remove need for typing Result<T, CliError>