feature: add new function get_commands will return all the commands