Sha256: 0409fdb7136fd6eec134e84489df5b2747ee72238f07f4df547d7f2dc775be51
Contents?: true
Size: 650 Bytes
Versions: 62
Compression:
Stored size: 650 Bytes
Contents
# frozen_string_literal: true 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
62 entries across 62 versions & 1 rubygems