Sha256: ffd0b3ccde6de3b96da69eaee791150cc0fc966189acfbc2d62cab122043e939
Contents?: true
Size: 672 Bytes
Versions: 11
Compression:
Stored size: 672 Bytes
Contents
# frozen_string_literal: true module Takeltau # tau completion class ShipCompletion < SubCommandBase include LoggingModule include ShipCompletionBash 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 = ship_completion_bash exit false if completion_bash == false say completion_bash true end end end
Version data entries
11 entries across 11 versions & 1 rubygems