Sha256: 8a5aa8220f80a199299d314dc12be65a4df83fc1f5fcf05ed913ebd99918f5b8
Contents?: true
Size: 621 Bytes
Versions: 18
Compression:
Stored size: 621 Bytes
Contents
module Takelage # takelage completion class Completion < SubCommandBase include LoggingModule desc 'bash', 'Print bash completion code' long_desc <<-LONGDESC.gsub("\n", "\x5") Print bash completion code This command will print bash code which can be parsed to enable auto-completion for the takelage cli. Add this to your bash startup files: source <(tau completion bash) LONGDESC # Print bash completion code. def bash completion_bash = Takelage::CLI.new.bash_fylla exit false if completion_bash == false say completion_bash true end end end
Version data entries
18 entries across 18 versions & 1 rubygems