I’ve made a simple script for a custom command, and would like to call maapi (would like to override the save command so it is forced for run in a specific directory only). The script is just:
#!/bin/bash
echo "In save..."
maapi --clicmd save "/files/output.xml"
The CLI spec for this command is:
<cmd name="save"> <help>save</help> <info>save</info> <callback> <exec> <osCommand>./save.sh</osCommand> </exec> </callback> </cmd>
Is there some configuration needed to enable the maapi command? I didn’t see anything in the UG man page, just an example of how to use it.
Thanks