NAME
CTK::Plugin::CLI - CLI plugin
VERSION
Version 1.01
SYNOPSIS
use CTK;
my $ctk = CTK->new(
plugins => "cli",
);
print $ctk->cli_prompt;
DESCRIPTION
Command-Line Interface plugin
METHODS
- cli_prompt
-
my $v = $ctk->cli_prompt('Your name:', 'anonymous'); debug( "Your name: $v" );
Show prompt string for typing data
- cli_select
-
my $v = $ctk->cli_select('Your select:',[qw/foo bar baz/],'bar'); debug( "Your select: $v" );
Show prompt string for select item
HISTORY
See Changes
file
DEPENDENCIES
TO DO
See TODO
file
BUGS
* none noted
SEE ALSO
AUTHOR
Serż Minus (Sergey Lepenkov) https://www.serzik.com <abalama@cpan.org>
COPYRIGHT
Copyright (C) 1998-2022 D&D Corporation. All Rights Reserved
LICENSE
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/