-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.php
More file actions
29 lines (22 loc) · 706 Bytes
/
main.php
File metadata and controls
29 lines (22 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* Progress Bars CLI Application
*
* This application demonstrates the comprehensive progress bar system including:
* - Various progress bar styles and formats
* - Real-world file processing scenarios
* - Download simulation with detailed progress
* - Batch processing with multiple progress indicators
* - Performance monitoring and optimization
*/
use WebFiori\Cli\Runner;
// Load dependencies
require_once '../../vendor/autoload.php';
require_once 'ProgressDemoCommand.php';
// Create and configure the CLI runner
$runner = new Runner();
// Register commands
$runner->register(new ProgressDemoCommand());
// Set default command
// Start the application
exit($runner->start());