PHP Classes

File: vendor/wp-cli/php-cli-tools/examples/output.php

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Nolimitbuzz WP Theme   vendor/wp-cli/php-cli-tools/examples/output.php   Download  
File: vendor/wp-cli/php-cli-tools/examples/output.php
Role: Auxiliary script
Content type: text/plain
Description: Configuration script
Class: Nolimitbuzz WP Theme
WordPress theme to used as start of new themes
Author: By
Last change:
Date: 1 month ago
Size: 1,073 bytes
 

Contents

Class file image Download
<?php

require_once 'common.php';

\
cli\out(" \\cli\\out sends output to STDOUT\n");
\
cli\out(" It does not automatically append a new line\n");
\
cli\out(" It does accept any number of %s which are then %s to %s for formatting\n", 'arguments', 'passed', 'sprintf');
\
cli\out(" Alternatively, {:a} can use an {:b} as the second argument.\n\n", array('a' => 'you', 'b' => 'array'));

\
cli\err(' \cli\err sends output to STDERR');
\
cli\err(' It does automatically append a new line');
\
cli\err(' It does accept any number of %s which are then %s to %s for formatting', 'arguments', 'passed', 'sprintf');
\
cli\err(" Alternatively, {:a} can use an {:b} as the second argument.\n", array('a' => 'you', 'b' => 'array'));

\
cli\line(' \cli\line forwards to \cli\out for output');
\
cli\line(' It does automatically append a new line');
\
cli\line(' It does accept any number of %s which are then %s to %s for formatting', 'arguments', 'passed', 'sprintf');
\
cli\line(" Alternatively, {:a} can use an {:b} as the second argument.\n", array('a' => 'you', 'b' => 'array'));