CTK::Plugin::CLI - CLI plugin
Version 1.00
use CTK; my $ctk = new CTK( plugins => "cli", ); print $ctk->cli_prompt;
Command-Line Interface plugin
my $v = $ctk->cli_prompt('Your name:', 'anonymous'); debug( "Your name: $v" );
Show prompt string for typing data
See "cli_prompt" in CTK::CLI
my $v = $ctk->cli_select('Your select:',[qw/foo bar baz/],'bar'); debug( "Your select: $v" );
Show prompt string for select item
See "cli_select" in CTK::CLI
See Changes file
Changes
CTK, CTK::Plugin, CTK::CLI
See TODO file
TODO
* none noted
Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>
Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See LICENSE file and https://dev.perl.org/licenses/
LICENSE
To install CTK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CTK
CPAN shell
perl -MCPAN -e shell install CTK
For more information on module installation, please visit the detailed CPAN module installation guide.