Ubic::Admin::Setup - this module handles ubic setup: asks user some questions
and configures your system
This module guides user through ubic configuration process.
This is considered to be a non-public class. Its interface is subject to change
without notice.
- 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.
ubic-admin - command-line script which calls this module
Vyacheslav Matyukhin <mmcleric@yandex-team.ru>
This software is copyright (c) 2015 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.