![]() |
![]()
| ![]() |
![]()
NAMEBash::Completion::Request - Abstract a completion request VERSIONversion 0.008 ATTRIBUTESlineThe full command line as given to us by bash. wordThe word to be completed. argsThe command line, up to and including the word to be completed, as a list of terms. The split of the command line into terms is very very basic. There might be dragons here. countNumber of words in the command line before the completion point. pointThe index in the command line where the shell cursor is. METHODSnewConstructs a completion request object based on the bash environment variables: "COMP_LINE" and "COMP_POINT". candidatesAccepts a list of completion candidates and passes them on to the shell. AUTHORPedro Melo <melo@cpan.org> COPYRIGHT AND LICENSEThis software is Copyright (c) 2011 by Pedro Melo. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible)
|