#88 Introduced cobra but only for the apply command. The other commands need to be updated to use cobra