Sha256: ac9d816d7fcd9df5e1d8817d6b60d00f353020fdda28ddc248b22e84bc4ffc58
Contents?: true
Size: 645 Bytes
Versions: 75
Compression:
Stored size: 645 Bytes
Contents
# frozen_string_literal: true module Takeltau # tau 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 = Takeltau::CLI.new.bash_fylla exit false if completion_bash == false say completion_bash true end end end
Version data entries
75 entries across 75 versions & 1 rubygems