polymorpher / pano

Pano: a command line tool suite for operating and monitoring an options market, such as Panoptic
0 stars 0 forks source link

CLI - direct execution mode #1

Open polymorpher opened 4 weeks ago

polymorpher commented 4 weeks ago

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)