[帮助]
[帮助命令]
在命令行执行:
php think help
输出显示
Usage:help [options] [--] [<command_name>]Arguments:command_name The command name [default: "help"]Options:--raw To output raw command help-h, --help Display this help message-V, --version Display this console version-q, --quiet Do not output any message--ansi Force ANSI output--no-ansi Disable ANSI output-n, --no-interaction Do not ask any interactive question-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debugHelp:The help command displays help for a given command:php think help listTo display the list of available commands, please use the list command.
[查看某命令行帮助]
php think help 命令
如查看clear命令的帮助文档
php think help clear
输出:
Usage:clear [options]Options:-d, --path[=PATH] path to clear-c, --cache clear cache file-l, --log clear log file-r, --dir clear empty dir-e, --expire clear cache file if cache has expired-h, --help Display this help message-V, --version Display this console version-q, --quiet Do not output any message--ansi Force ANSI output--no-ansi Disable ANSI output-n, --no-interaction Do not ask any interactive question-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
