builtin="clish_close"

41 zobrazení
Přeskočit na první nepřečtenou zprávu

chandru hg

nepřečteno,
26. 8. 2019 0:29:2726.08.19
komu: klish
Hi,

requirement: wanted to keep a track when somebody logout from the Klish CLI


i wanted to run a bash script whenever i call exit from the CLI, is there any way we can achieve this?

currently as shown in the below code we use builtin "clish_close" tag which is not allowing us to run any of my bash script, can someone pls help on doing the same?
root-view.xml

    <COMMAND name="exit"

             help="Exit CLI session"

             lock="false">

      <ACTION builtin="clish_close"/>

    </COMMAND>



any help on this is much appreciated.


Thanks,

Chandru

Odpovědět všem
Odpověď autorovi
Přeposlat
0 nových zpráv