Class: Completion::Command::Generate

Inherits:
Samovar::Command
  • Object
show all
Defined in:
lib/completion/command/generate.rb

Overview

Generate shell completion adapter scripts.

Instance Method Summary collapse

Instance Method Details

#callObject

Print the generated shell adapter script.



27
28
29
# File 'lib/completion/command/generate.rb', line 27

def call
	output.puts Shell.script(shell: @options[:shell], executable: @options[:command])
end