Skip to content

Commit 33dae3a

Browse files
committed
update readme
1 parent 8635dab commit 33dae3a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
# PHP console
1+
# PHP Console
22

33
[![License](https://img.shields.io/packagist/l/inhere/console.svg?style=flat-square)](LICENSE)
44
[![Php Version](https://img.shields.io/badge/php-%3E=7.3.0-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/inhere/console)
55
[![Latest Stable Version](http://img.shields.io/packagist/v/inhere/console.svg)](https://packagist.org/packages/inhere/console)
66
[![Github Actions Status](https://github.com/inhere/php-console/workflows/Unit-tests/badge.svg)](https://github.com/inhere/php-console/actions)
77

88
A simple, full-featured php command line application library.
9+
910
Provide console parameter parsing, command run, color style output, user information interaction, and special format information display.
1011

1112
> **[中文README](./README.zh-CN.md)**
@@ -20,7 +21,8 @@ Provide console parameter parsing, command run, color style output, user informa
2021
2122
- Command line application, `controller`, `command` parsing run on the command line
2223
- Support for setting aliases for commands. A command can have multiple aliases. Support command display/hide, enable/disable
23-
- Full-featured command line option parameter parsing (named parameters, short options, long options...). `input`, `output` of the command line, management, use
24+
- Full-featured command line option parameter parsing (named parameters, short options `-s`, long options `--long`).
25+
- The `input`, `output` of the command line, management, use
2426
- Command method comments are automatically parsed as help information (by default, `@usage` `@arguments` `@options` `@example`)
2527
- Support for outputting message texts of multiple color styles (`info`, `comment`, `success`, `warning`, `danger`, `error` ... )
2628
- Commonly used special format information display (`section`, `panel`, `padding`, `helpPanel`, `table`, `tree`, `title`, `list`, `multiList`)
@@ -42,7 +44,7 @@ Provide console parameter parsing, command run, color style output, user informa
4244

4345
> All features, effects; can be run in the example code `phps/app` in `examples/`. Basically covers all the features and can be tested directly
4446
45-
## Quick installation
47+
## Installation
4648

4749
```bash
4850
composer require inhere/console

README.zh-CN.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# php 命令行应用库
1+
# PHP Console
22

33
[![License](https://img.shields.io/packagist/l/inhere/console.svg?style=flat-square)](LICENSE)
44
[![Php Version](https://img.shields.io/badge/php-%3E=7.1.0-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/inhere/console)
@@ -19,7 +19,8 @@
1919
2020
- 命令行应用, 命令行的 `controller`, `command` 解析运行
2121
- 支持给命令设置别名,一个命令可以有多个别名。支持命令的显示/隐藏,启用/禁用
22-
- 功能全面的命令行的选项参数解析(命名参数,短选项,长选项 ...)。命令行的 `input`, `output` 管理、使用
22+
- 功能全面的命令行的选项参数解析(命名参数,短选项 `-s`,长选项 `--long`)
23+
- 命令行下的 输入`input`, 输出 `output` 管理、使用
2324
- 命令方法注释自动解析为帮助信息(默认提取 `@usage` `@arguments` `@options` `@example` 等信息)
2425
- 支持输出多种颜色风格的消息文本(`info`, `comment`, `success`, `warning`, `danger`, `error` ... )
2526
- 常用的特殊格式信息显示(`section`, `panel`, `padding`, `helpPanel`, `table`, `tree`, `title`, `list`, `multiList`)

0 commit comments

Comments
 (0)