feat(cli): add polyfill requirement to CLI bootstrap

- Include polyfills.php in cli.php to ensure runtime compatibility
- Maintain existing argument handling and main function execution
- Enable consistent environment setup across all entry points
pull/34/head
韩天峰 1 month ago
parent 18b798e8ce
commit 2fe2344d88
  1. 1
      cli.php

@ -1,4 +1,5 @@
#!/usr/bin/env php
<?php
require __DIR__ . '/src/polyfills.php';
include $argv[1];
main($argc, $argv);
Loading…
Cancel
Save