NAME
Ubic::Admin::Setup - this module handles ubic setup: asks user some questions and configures your system
VERSION
version 1.60
DESCRPITION
This module guides user through ubic configuration process.
INTERFACE SUPPORT
This is considered to be a non-public class. Its interface is subject to change without notice.
FUNCTIONS
- print_tty(@)
-
Print something to terminal unless quiet mode or batch mode is enabled.
- prompt($description, $default)
-
Ask user a question, assuming
$default
as a default.This function is stolen from ExtUtils::MakeMaker with some modifications.
- prompt_str($description, $default)
-
Ask user for a string.
- prompt_bool($description, $default)
-
Ask user a yes/no question.
- xsystem(@command)
-
Invoke
system
command, throwing exception on errors. - slurp($file)
-
Read file contents.
- setup()
-
Perform setup.
SEE ALSO
ubic-admin - command-line script which calls this module
AUTHOR
Vyacheslav Matyukhin <mmcleric@yandex-team.ru>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Yandex LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.