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

8 lines
296 B
PHP
Raw Permalink Normal View History

2024-01-09 16:13:20 +01: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);