If there is a git repository, the project name can be achieved by git. Else use the base name of current working directory. You can call (require "prompt.style").wakatime("wakatime-cli XXX") to ...