Class: Dude::Commands::Start

Inherits:
Dry::CLI::Command
  • Object
show all
Defined in:
lib/dude/commands/start.rb

Instance Method Summary collapse

Instance Method Details

#call(id:) ⇒ Object



10
11
12
13
14
# File 'lib/dude/commands/start.rb', line 10

def call(id:)
  Commands::Move.new.call(id: id, list: selected_list('in_progress'))
  Commands::Checkout.new.call(id: id)
  Commands::Track.new.call(id: id) if time_tracking_enabled?
end