module GetToWork class CLI < Thor desc "bootstrap", "creates .gtw configuration for your current working directory" def bootstrap GetToWork::Command::Bootstrap.run end desc "start ", "start working on a pivotal tracker story" def start(pt_id = nil) GetToWork::Command::Start.run(pt_id: pt_id) end desc "stop", "#stop working on your current story" def stop GetToWork::Command::Stop.run end desc "last_story", "returns the id of the last story started" def last_story GetToWork::Command::LastStory.run end end end