oficinasuport-wp-theme/vendor/wp-cli/php-cli-tools/examples/progress.php

8 lines
296 B
PHP

<?php
require_once 'common.php';
test_notify(new \cli\progress\Bar(' \cli\progress\Bar displays a progress bar', 1000000));
test_notify(new \cli\progress\Bar(' It sizes itself dynamically', 1000000));
test_notify_msg(new \cli\progress\Bar(' It can even change its message', 5), 5, 1000000);