Hi, I wanted to ask if it is possible to use two callback functions in a cli script for a cli command.
For example, I wanted to do something similar as below. In the example, the capi callback is already applied and runs every time I run the add command.
The question here is : Can I run the check_points script before add_points?
> <configureMode>
> <cmd name="add">
> <callback>
> <exec>
> <osCommand>./check_points.sh</osCommand>
> <args></args>
> </exec>
> <capi>
> <cmdpoint>add_points</cmdpoint>
> </capi>
>
> </callback>
> </cmd>
>
> </configureMode>
Also if i can run both callabacks .I wanted to know if there is the possibility to run the capi callback if the check_points returns success.