Hi,
I want to gather cli multi line input where user can specify customized eof string instead of ctrl+D. To achieve this, i wrote one python script which is called in tailf:action via tailf:exec. In this python script, i am trying to print “Enter eof string”. I can’t get it in cli.
I tried using clispec approach. It works well. I can see it on the cli side. But, in that case command can’t be accessed via REST. Please suggest.
not sure if it fits your scenario / use-case, but as you mention context of action - how about adding the EOF as input parameter of the action in question?
(wouldn’t need to print query/text to CLI then, if i understood correctly what you try to perform…)