Working on provides command and Cmd refactor.