Currently, the CLI always renders terminal based React UI with multi step menu and submenus. A trade or query is only executed after some user keyboard interactions (such as, to specify parameters of an option position).
We need to provide a way for users to directly execute a trade or query, without having to interact with the UI further.
This means to implement more command line arguments and options, and extend existing components to take user-specified input parameters in props. Read only operations should display the information queued, then exit. Write operations (such as minting an option) should require user confirmation by default, but that should be skippable using a forced flag (e.g -f)
Currently, the CLI always renders terminal based React UI with multi step menu and submenus. A trade or query is only executed after some user keyboard interactions (such as, to specify parameters of an option position).
We need to provide a way for users to directly execute a trade or query, without having to interact with the UI further.
This means to implement more command line arguments and options, and extend existing components to take user-specified input parameters in props. Read only operations should display the information queued, then exit. Write operations (such as minting an option) should require user confirmation by default, but that should be skippable using a forced flag (e.g -f)