class Athena::Console::Completion::Input
inherits Athena::Console::Input::ARGV
#
A specialization of ACON::Input::ARGV
that allows for unfinished name/values.
Exposes information about the name, type, and value of the value/name being completed.
Constructors#
Methods#
#bind(definition : ACON::Input::Definition) : Nil
#
:inherit:
ameba:disable Metrics/CyclomaticComplexity
#completion_name : String | ::Nil
#
Returns the name of the argument/option when completing a value.
#completion_type : ACON::Completion::Input::Type
#
Returns which type of completion is required.
#must_suggest_argument_values_for?(argument_name : String) : Bool
#
Returns true
if this input is able to suggest values for the provided argument_name.
#must_suggest_values_for?(option_name : String) : Bool
#
Returns true
if this input is able to suggest values for the provided option_name.
#relevant_token : String
#
Returns the current token of the cursor, or last token if the cursor is at the end of the input.