本文整理汇总了PHP中Cli::output方法的典型用法代码示例。如果您正苦于以下问题:PHP Cli::output方法的具体用法?PHP Cli::output怎么用?PHP Cli::output使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Cli
的用法示例。
在下文中一共展示了Cli::output方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: define
<?php
define("ROOT", dirname(__DIR__) . DIRECTORY_SEPARATOR);
define("BIN", ROOT . "Binaries" . DIRECTORY_SEPARATOR);
define("PHAB", "http://phabricator.burningreality.de/");
define("OS_ARCH", isset($_SERVER["ProgramFiles(x86)"]) ? 64 : 32);
require_once __DIR__ . '/inc.php';
require_once __DIR__ . '/Cli.php';
Cli::output("This will install the Apex Studios Tool Package");
Cli::output("");
Cli::output("");
Cli::output("The tool package will be installed into the following directory:");
Cli::output("\t" . ROOT);
Cli::output("");
Cli::output("Yes, this it's being installed right into this directory.");
Cli::output("");
printHr();
Cli::output("Do NOT move the folder around nor delete it after installing!");
printHr();
Cli::output("Got that?");
Cli::output("");
Cli::output("Accepting is your only option. So please press a key");
dontMove();
Cli::output("");
Cli::output("");
selectScreen();
示例2: installCertificate
function installCertificate()
{
Cli::output("I will now install the Arcanist certificate for you.");
Cli::output("This will enable to identify you in Phabricator without you having to type in your username");
Cli::output("or password for Arcanist.");
println();
Cli::output("You will be asked to open the Phabricator website, which will require you to login. Just keep");
Cli::output(PHAB . "conduit/token open already, you'll save yourself some work");
println();
Cli::output("Also, a new window will open, where you will be able to do all the work.");
println();
Cli::output("Ready?");
dontMove();
arcInstall();
}