[帮助]

[帮助命令]

在命令行执行:

  1. php think help

输出显示

  1. Usage:
  2. help [options] [--] [<command_name>]
  3. Arguments:
  4. command_name The command name [default: "help"]
  5. Options:
  6. --raw To output raw command help
  7. -h, --help Display this help message
  8. -V, --version Display this console version
  9. -q, --quiet Do not output any message
  10. --ansi Force ANSI output
  11. --no-ansi Disable ANSI output
  12. -n, --no-interaction Do not ask any interactive question
  13. -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  14. Help:
  15. The help command displays help for a given command:
  16. php think help list
  17. To display the list of available commands, please use the list command.

[查看某命令行帮助]

  1. php think help 命令

如查看clear命令的帮助文档

  1. php think help clear

输出:

  1. Usage:
  2. clear [options]
  3. Options:
  4. -d, --path[=PATH] path to clear
  5. -c, --cache clear cache file
  6. -l, --log clear log file
  7. -r, --dir clear empty dir
  8. -e, --expire clear cache file if cache has expired
  9. -h, --help Display this help message
  10. -V, --version Display this console version
  11. -q, --quiet Do not output any message
  12. --ansi Force ANSI output
  13. --no-ansi Disable ANSI output
  14. -n, --no-interaction Do not ask any interactive question
  15. -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug