Module: Doing::Completion

Defined in:
lib/doing/completion.rb

Overview

Completion script generator

Class Method Summary collapse

Class Method Details

.generate_completion(type: 'zsh', file: 'stdout') ⇒ Object

Generate a completion script and output to file or stdout

Parameters:

  • type (String) (defaults to: 'zsh')

    shell to generate for (zsh|bash|fish)

  • file (String) (defaults to: 'stdout')

    Path to save to, or 'stdout'