clearmatics/zeth

CommandContext class for client cli

Opened this issue · 0 comments

In zeth.cli.utils, several classes depend on configurations and data in local files. To ensure that files, clients and configurations are used efficiently (to avoid unnecessary file loading, object creationg, requests to servers etc), create a CommandContext class which can cache this data, and move util functiond such as create_prover_client to be methods of this.