How to run CLI command by using maapi function?

I want to run CLI command inside my bash file.
is there any maapi function to achieve same thing in my bash file?

Hello,

instead of maapi you may consider using confd_cli, which allows usage in bash scripts. See ConfD User Guide, part confd_cli, section Scripting (or man confd_cli - scripting is described at the end).