Module: Yoda::Cli

Defined in:
lib/yoda/cli.rb,
lib/yoda/cli/base.rb,
lib/yoda/cli/infer.rb,
lib/yoda/cli/console.rb,
lib/yoda/cli/complete.rb,
lib/yoda/cli/analyze_deps.rb,
lib/yoda/cli/file_cursor_parsable.rb

Overview

Cli module has handler for each cli command.

Defined Under Namespace

Modules: FileCursorParsable Classes: AnalyzeDeps, Base, Complete, Console, Infer, Top

Class Method Summary collapse

Class Method Details

.exe_dirString

Returns:

  • (String)


15
16
17
# File 'lib/yoda/cli.rb', line 15

def exe_dir
  File.expand_path('../../exe', __dir__)
end

.yoda_exeString

Returns:

  • (String)


20
21
22
# File 'lib/yoda/cli.rb', line 20

def yoda_exe
  File.expand_path('./yoda', exe_dir)
end