Closed khromenokroman closed 6 months ago
With "the plugin" I assume you mean a backend plugin. A cli plugin can just use stderr/stdout. Communication from a backend plugin ro the cli (or any other client) is by:
For event notifications: The backend plugin creates a stream with stream_add() and then makes notifications with stream_notify(). The cli client (cli plugin) subscribes to the event stream with clicon_rpc_create_subscription() and then needs to set up event handling for the returned socket.
Hi, is there a way to output a message from the plugin to the Cli?? for example, about the process of passing transactions, do something like printf()