Hello @pavon,
Please see the attachment and I submit to believe - you may be missing some crucial concepts.
Have you seen this? The following are examples of query and invoke as documented by Tong Li in the github.
minifab invoke -p '"query","a"'
minifab invoke -p '"invoke","a","b","24"'
Please review the Read The Doc on Hyperledger Fabric and also Minifab documentation.
Both the resources feature a tremendous documentation. I think this is what you need to pay attention to.
Hope the attachment helps. Best of luck.