Open mhdirkse opened 5 years ago
At the moment, the client tool and the major tool cannot be called from other programs. These tools now require that the user presses enter after a command. Furthermore, there is no way to capture generated person ids, journal ids, etc to include them in further commands.
The user experience would improve when scripting is made possible. This requires an update of the cli package to include variable references and assigning variables from return values. Furthermore, the cli should be extended to run commands from scripts. Then, the handlers of the cli commands within the other packages should be extended to provide return values.
Please note: It is not enough to make the command line interfaces scriptable and to extend the command line interface to work with variables. There should also be an update to ensure that processing and issuing transactions are coordinated. Scripts should either await successful processing of each transaction, or they should assemble all scripted blockchain manipulation in one Hyperledger Sawtooth batch.
[AX-32] created by mdi