詹姆斯·薛/代码解释

解释代码是什么意思?

安装: 1

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放性问题: 0

类型:项目

v1.0.0 2024-04-02 05:12 UTC

This package is auto-updated.

Last update: 2024-08-30 14:41:34 UTC


README

解释代码是什么意思?

code-explain

需求

  • PHP >= 8.1

安装

Composer

composer global require james.xue/code-explain

直接下载 代码解释 可执行文件

curl 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/xiaoxuan6/code-explain/main/builds/code-explain' -o code-explain --progress-bar
chmod +x code-explain

帮助

$ ./code-explain -h
Description:
  What does it mean to explain the code.

Usage:
  explain [options] [--] [<code>]

Arguments:
  code                    The code to explain

Options:
  -C, --is-use-clipboard  Use clipboard to get the code to explain
  -h, --help              Display help for the given command. When no command is given display help for the explain command
  -q, --quiet             Do not output any message
  -V, --version           Display this application version
      --ansi|--no-ansi    Force (or disable --no-ansi) ANSI output
  -n, --no-interaction    Do not ask any interactive question
      --env[=ENV]         The environment the command should run under
  -v|vv|vvv, --verbose    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug