Sha256: e802aeb0aa98db4b807f0636c80c3df391572483e5076e36803f5f5f8a0997e1
Contents?: true
Size: 640 Bytes
Versions: 45
Compression:
Stored size: 640 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 takelship cli. Add this to your bash startup files: source <(ship completion bash) LONGDESC def bash completion_bash = ship_completion_bash exit false if completion_bash == false say completion_bash true end end end
Version data entries
45 entries across 45 versions & 1 rubygems