Class: Yoda::Commands::Top

Inherits:
Thor
  • Object
show all
Defined in:
lib/yoda/commands.rb

Instance Method Summary collapse

Instance Method Details

#complete(position) ⇒ Object



29
30
31
32
# File 'lib/yoda/commands.rb', line 29

def complete(position)
  process_class_options
  Commands::Complete.run(position)
end

#infer(position) ⇒ Object



23
24
25
26
# File 'lib/yoda/commands.rb', line 23

def infer(position)
  process_class_options
  Commands::Infer.run(position)
end

#serverObject



35
36
37
38
# File 'lib/yoda/commands.rb', line 35

def server
  process_class_options
  Server.new.run
end

#setupObject



17
18
19
20
# File 'lib/yoda/commands.rb', line 17

def setup
  process_class_options
  Commands::Setup.run(force_build: options[:force_build])
end