I am trying to implement custom tab completion mechanism for save option in pipecmds.
I have in the below ways
Delete the default save using “delete”
Add custom command and tab completion.
In this case I am able to use custom tab completion but I am unable to redirect/get the output of command before pipe.
for example file tail -n 10 abc.log | save log/test.log
I am unable to redirect output of “file tail -n 10 abc.log” to script handling the “save”
Modify the existing tab completion of save using “modification”
<modifications> <completion path="save"> <callback> <capi> <completionpoint>tab-completion-save</completionpoint> </capi> </callback> </completion> </modifications>
In this case the custom tab completion itself is not working.
Could you help to correct my mistakes or add something I am missing