Class: Takelage::Completion

Inherits:
SubCommandBase show all
Includes:
LoggingModule
Defined in:
lib/takelage/completion/cli.rb

Overview

takelage completion

Instance Method Summary collapse

Methods included from LoggingModule

#initialize_logging, #log

Methods inherited from SubCommandBase

banner, subcommand_prefix

Instance Method Details

#bashObject

Print bash completion code.



17
18
19
20
21
22
# File 'lib/takelage/completion/cli.rb', line 17

def bash
  completion_bash = Takelage::CLI.new.bash_fylla
  exit false if completion_bash == false
  say completion_bash
  true
end