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

8 lines
296 B
PHP
Raw Normal View History

2022-10-24 23:58:16 +02:00
<?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);