james-patch-30 #43

Open
james wants to merge 2 commits from james-patch-30 into main
Showing only changes of commit 891903de08 - Show all commits

View File

@ -1,8 +1,11 @@
#!/usr/bin/env php
<?php
require_once __DIR__ . '/vendor/autoload.php';
// 使用 getopt 函数解析命令行参数
$options = getopt('h::', ['APP_ENV::', 'help::']);
// 检查是否请求帮助信息
if (isset($options['h']) || isset($options['help'])) {
echo "Usage: php start.php [options]\n";