james.xue / code-explain
What does it mean to explain the code(解释代码是什么意思)
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.1
- ext-curl: *
- ext-sodium: *
- guzzlehttp/guzzle: ^7.8
- illuminate/http: ^10.48
- laminas/laminas-text: ^2.0
- laravel-zero/framework: ^10.2
- laravel-zero/phar-updater: ^1.3
- laravel/prompts: ^0.1.17
- titasgailius/terminal: ^1.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.52
- rector/rector: ^1.0
README
What does it mean to explain the code(解释代码是什么意思)
Requirements
- PHP >= 8.1
Installation
Composer
composer global require james.xue/code-explain
直接下载 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
Help
$ ./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