Class: Tc211::Termbase::Cli::Command

Inherits:
Thor
  • Object
show all
Defined in:
lib/tc211/termbase/cli/command.rb

Instance Method Summary collapse

Instance Method Details

#fetch(code) ⇒ Object



9
10
11
12
# File 'lib/tc211/termbase/cli/command.rb', line 9

def fetch(code)
  Relaton::Cli.relaton
  say(fetch_document(code, options) || supported_type_message)
end