File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 99namespace Inhere \Console \BuiltIn ;
1010
1111use Inhere \Console \Command ;
12+ use Inhere \Console \Utils \CliUtil ;
1213
1314/**
1415 * Class DevServerCommand
1718class DevServerCommand extends Command
1819{
1920 protected static $ name = 'dev:server ' ;
20- protected static $ description = 'Start a php built-in server for development ' ;
21+ protected static $ description = 'Start a php built-in http server for development ' ;
2122
2223 public static function aliases (): array
2324 {
2425 return ['dev-server ' ];
2526 }
2627
2728 /**
28- * start a php built-in server for development
29+ * start a php built-in http server for development
2930 * @usage
3031 * {command} [-S HOST:PORT]
3132 * {command} [-H HOST] [-p PORT]
3233 * {command} [-S HOST:PORT] [file=]web/index.php
3334 * @options
34- * -S STRING The server address. e.g 127.0.0.1:8552
35+ * -S STRING The http server address. e.g 127.0.0.1:8552
3536 * -t STRING The document root dir for server(<comment>web</comment>)
3637 * -H,--host STRING The server host address(<comment>127.0.0.1</comment>)
37- * -p,--port INTEGER The server port address (<comment>8552</comment>)
38+ * -p,--port INTEGER The server port number (<comment>8552</comment>)
3839 * @arguments
3940 * file=STRING The entry file for server. e.g web/index.php
4041 * @example
You can’t perform that action at this time.
0 commit comments