https://github.com/esd-projects/console-plugin
控制器插件
https://github.com/esd-projects/console-plugin
Last synced: 6 months ago
JSON representation
控制器插件
- Host: GitHub
- URL: https://github.com/esd-projects/console-plugin
- Owner: esd-projects
- Created: 2019-04-22T02:09:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-31T10:10:27.000Z (almost 7 years ago)
- Last Synced: 2025-11-27T14:56:27.894Z (7 months ago)
- Language: PHP
- Size: 35.2 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# console-plugin
esd-projects 插件,支持生成实体类
```$xslt
Description:
Entity generator
Usage:
entity [options] [--] []
Arguments:
pool database db pool? [default: "default"]
Options:
-t, --table[=TABLE] database table name? (multiple values allowed)
--path[=PATH] generate entity file path? [default: "@app/Model/Entity"]
--template[=TEMPLATE] generate entity template path? [default: "@devtool/resources"]
--extend[=EXTEND] generate extend class? [default: "\ESD\Plugins\Console\Model\GoModel"]
-y, --confirm confirm execution?
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--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
```
例子:
```$xslt
php start_server.php entity -t user -y
```