NAME

CTK::Plugin::CLI - CLI plugin

VERSION

Version 1.00

SYNOPSIS

use CTK;
my $ctk = new CTK(
        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

See "cli_prompt" in CTK::CLI

cli_select
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

HISTORY

See Changes file

DEPENDENCIES

CTK, CTK::Plugin, CTK::CLI

TO DO

See TODO file

BUGS

* none noted

SEE ALSO

CTK, CTK::Plugin, CTK::CLI

AUTHOR

Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2019 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/