Add new function to smart-cli