Skip to content

module Tabular::Completers #

A collection of convenience functions to handle completion situations.

Class methods#

.install(args = ARGV)#

A convenience completer for a CLI's completion installer command.

if Tabular.prompt?
  ARGV.shift

  if ARGV[0]? == "completion"
    ARGV.shift

    Tabular::Completers.install
  end
end
View source