App-CompleteUtils
view release on metacpan or search on metacpan
script/testcomp view on Meta::CPAN
=head1 NAME
testcomp - Test your tab completion
=head1 VERSION
This document describes version 0.180 of testcomp (from Perl distribution App-CompleteUtils), released on 2022-01-16.
=head1 SYNOPSIS
Usage (place caret sign (C<^>) somewhere to place cursor):
% testcomp [testcomp-options] -- <your-script> [your-script-options]^ ...
% testcomp [testcomp-options] -- <your-script> '[your-script-options]^ ...'
Examples:
% testcomp -- yourscript --opt1 val --opt2
% testcomp -Ilib -- 'yourscript --opt1^ --opt2 val'
=head1 DESCRIPTION
This utility will run your script (finding it in C<PATH> if not found in current
directory) while setting C<COMP_LINE> and C<COMP_POINT> to test how your script
will perform shell completion. In addition to that, it will also load
L<Log::ger::Output::Screen> and set C<TRACE=1> to let you see trace log
messages.
You can place caret sign (C<^>) somewhere in the argument to place cursor (set
C<COMP_POINT>)>. If no caret sign is present, C<COMP_POINT> is put at the end of
C<COMP_LINE>.
=head1 OPTIONS
=head2 --include=dir, -I
Like Perl's C<-I>.
=head2 --shell=SHELL, -s
( run in 0.239 second using v1.01-cache-2.11-cpan-4d50c553e7e )