struct
Jargon::Completion::Context
- Jargon::Completion::Context
- Struct
- Value
- Object
Overview
Context handed to a registered completer block. #partial is the token
being completed; #words is the full command line as the shell tokenized
it (program name at index 0); #subcommand is the resolved subcommand
path (nil at top level); #arguments is a lenient parse of what has been
typed so far, for filtering.
Defined in:
jargon/completion.crConstructors
Instance Method Summary
- #arguments : Hash(String, String)
- #partial : String
- #subcommand : String | Nil
- #words : Array(String)
Constructor Detail
def self.new(partial : String, words : Array(String), subcommand : String | Nil, arguments : Hash(String, String))
#