Method: Help.interactive_help

Defined in:
lib/help.rb

.interactive_help(command) ⇒ Object



13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/help.rb', line 13

def self.interactive_help(command)
  case command
  when '-w'
    log("Ex: -w /home/name/sound_file.m4a")
    log("Will transcribe the audio file.")
  when '-t'
    log("Ex: -t /home/name/sound_file.m4a")
    log("Will translate the audio file to English.")
  when '-lf'
    log("Ex: -lf /home/name/some_text_file.txt'")
    log("Will load the file into context.")
    log("The file should a [txt, CSV]. More formats coming soon.")
  when '-f'
    log("Ex: -f Can you describe the file i provided?")
  when 'config'
    log("Ex: config key <your API key>")
    log("Ex: config temp <0.0 - 1.0>")
    log("Ex: config context <0 - 100>")
    log("Beaware that the more context you use, the more expensive it will be.")
  else
    log("No help for: #{command}")
  end

end