NAME SHARYANTO::Complete::Util - Shell tab completion routines VERSION This document describes version 0.03 of SHARYANTO::Complete::Util (from Perl distribution SHARYANTO-Complete-Util), released on 2014-05-05. FUNCTIONS complete_array(%args) -> any Arguments ('*' denotes required arguments): * array* => *array* * ci => *bool* (default: 0) * word => *str* (default: "") Return value: complete_env(%args) -> any Arguments ('*' denotes required arguments): * ci => *bool* (default: 0) * word => *str* (default: "") Return value: complete_file(%args) -> any Arguments ('*' denotes required arguments): * d => *bool* (default: 1) Whether to include directory. * f => *bool* (default: 1) Whether to include file. * word => *str* (default: "") Return value: complete_hash_key(%args) -> any Arguments ('*' denotes required arguments): * ci => *bool* (default: 0) * hash* => *hash* * word => *str* (default: "") Return value: complete_program(%args) -> any Arguments ('*' denotes required arguments): * word => *str* (default: "") Return value: parse_shell_cmdline(@args) -> any Parse shell command-line for processing by completion routines. Currently only supports bash. Returns hash with the following keys: "words" (array of str, equivalent to "COMP_WORDS" provided by shell to completion routine), "cword" (int, equivalent to shell-provided "COMP_CWORD"). Arguments ('*' denotes required arguments): * cmdline => *str* Command-line, defaults to COMP_LINE environment. * opts => *hash* Currently known options: parse*line*sub (code). * point => *int* Point/position to complete in command-line, defaults to COMP_POINT. Return value: SEE ALSO SHARYANTO HOMEPAGE Please visit the project's homepage at . SOURCE Source repository is at . BUGS Please report any bugs or feature requests on the bugtracker website When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. AUTHOR Steven Haryanto COPYRIGHT AND LICENSE This software is copyright (c) 2014 by Steven Haryanto. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.