Command execution for cli programs