Method: LLM::Shell::Command::DirImport.complete

Defined in:
lib/llm/shell/commands/dir_import.rb

.complete(path) ⇒ Array<String>

Completes a path with a wildcard.

Parameters:

  • The path to complete.

Returns:

  • Returns the completed path(s)



14
15
16
# File 'lib/llm/shell/commands/dir_import.rb', line 14

def self.complete(path)
  Dir["#{path}*"]
end