Class: Toys::CLI::DefaultCompletion

Inherits:
Toys::Completion::Base show all
Defined in:
core-docs/toys/cli.rb

Overview

Defined in the toys-core gem

A Completion that implements the default algorithm for a CLI. This algorithm simply determines the tool and uses its completion.

Instance Method Summary collapse

Instance Method Details

#call(context) ⇒ Array<Toys::Completion::Candidate>

Returns candidates for the current completion.

Parameters:

Returns:



427
428
429
# File 'core-docs/toys/cli.rb', line 427

def call(context)
  # Source available in the toys-core gem
end