Class: GetToWork::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/get_to_work/cli.rb

Instance Method Summary collapse

Instance Method Details

#bootstrapObject



4
5
6
# File 'lib/get_to_work/cli.rb', line 4

def bootstrap
  GetToWork::Command::Bootstrap.run
end

#last_storyObject



19
20
21
# File 'lib/get_to_work/cli.rb', line 19

def last_story
  GetToWork::Command::LastStory.run
end

#start(pt_id = nil) ⇒ Object



9
10
11
# File 'lib/get_to_work/cli.rb', line 9

def start(pt_id = nil)
  GetToWork::Command::Start.run(pt_id: pt_id)
end

#stopObject



14
15
16
# File 'lib/get_to_work/cli.rb', line 14

def stop
  GetToWork::Command::Stop.run
end