8go
8go
I changed the code to follow @opk12 advice. Now the Option 2 is implemented. Now a separate line and a separate JSON object is printed for each data-set (e.g. message...
Have a look at the new release. `--output` now covers `--listen` and `--tail`. Try something like `--tail 1 --listen-self --output json-max | jq ` or `--tail 1 --listen-self --output json...
OK, @opk12 , your point is valid. But ... Let's take an example: `--get-room-info` . `--get-room-info` a) gets the room object from `matrix-nio` and b) adds `display_name` obtained via matrix-nio...
The description now reads: ``` --output OUTPUT This option decides on how the output is presented. Currently offered choices are: 'text', 'json' and 'json-max'. Provide one of these choices. The...
How about a `--output json-spec` that is equal to `json` (for the time being) except for the message callback. ?
I kind of foresaw that some day something like this would happen (I didnt think it would happen so soon, hahaha), that is why it is not a binary on-off...
@opk12 try out `--output json-spec`
@opk12 Regarding: > 1) Is there a reason now for json-max and json to be separate? Only reason is that `json-max` also gives `transport-response` but fwe people will care about...
@opk12 @nukeador @lefuturiste > 3 When the sync is running, what about a descriptive message Syncing... OK, that can be done. > 1 What about a command-line flag to disable...
Thank you @opk12 for your research and your summary. The matrix-nio examples do not convince me (as I wrote some of these examples myself) and they were written to keep...