bullsoft/falconplus-common

There is no license information available for the latest version (3.0.2) of this package.

Installs: 99

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 3

Open Issues: 0

Language:Volt

3.0.2 2022-12-02 09:31 UTC

README

This is a standard Phalcon+ CLI-Mode Module, as is a common part of falconplus.

how to use ?

...:APP_ROOT$ ./common/bin/fp-devtool command arg1 arg2 arg3

可用命令如下:

--------------------------------------------------------------------------------------------------------------------------------------------
| command          | args                                                           | description                       | alias            |
============================================================================================================================================
| module:create    | -                                                              | 引导创建Phalcon+模块              | create-module    |
--------------------------------------------------------------------------------------------------------------------------------------------
| module:list      | -                                                              | Phalcon+模块列表                  | -                |
--------------------------------------------------------------------------------------------------------------------------------------------
| module:install   | arg1: $repoUrl[, arg2: $moduleName]                            | 安装远程GIT上的Phalcon+模块       |                  |
--------------------------------------------------------------------------------------------------------------------------------------------
| module:clean-all | -                                                              | 清除所有模块的垃圾信息            | -                |
--------------------------------------------------------------------------------------------------------------------------------------------
| module:help      | -                                                              | Phalcon+模块工具集帮助手册        | module           |
--------------------------------------------------------------------------------------------------------------------------------------------
| server:start     | arg1: $moduleName                                              | 使用PHP内置服务器运行Phalcon+模块 | -                |
--------------------------------------------------------------------------------------------------------------------------------------------
| server:stop      | arg1: $moduleName                                              | 关闭Phalcon+模块服务器            | -                |
--------------------------------------------------------------------------------------------------------------------------------------------
| server:restart   | arg1: $moduleName                                              | 重启Phalcon+模块服务器            | -                |
--------------------------------------------------------------------------------------------------------------------------------------------
| server:list      | -                                                              | Phalcon+模块服务器列表            | -                |
--------------------------------------------------------------------------------------------------------------------------------------------
| server:help      | -                                                              | Phalcon+模块服务器工具集帮助手册  | server           |
--------------------------------------------------------------------------------------------------------------------------------------------
| model:create     | -                                                              | 引导创建Phalcon+ORM模型           | create-model     |
--------------------------------------------------------------------------------------------------------------------------------------------
| model:list       | arg1: $moduleName                                              | 查看指定模块的Phalcon+模型列表    | -                |
--------------------------------------------------------------------------------------------------------------------------------------------
| model:find       | arg1: $moduleName, arg2: $modelName[, arg3: $condition]        | 查询Phalcon+模型的数据列表        | -                |
--------------------------------------------------------------------------------------------------------------------------------------------
| model:help       | -                                                              | 查看Phalcon+模型工具集帮助文档    | model            |
--------------------------------------------------------------------------------------------------------------------------------------------
| exception:create | -                                                              | 引导创建Phalcon+异常类            | create-exception |
--------------------------------------------------------------------------------------------------------------------------------------------
| rpc:call         | arg1: $moduleName, arg2: $service="A::main"[, arg3: $jsonArgs] | Phalcon+本地RPC调用               | -                |
--------------------------------------------------------------------------------------------------------------------------------------------
| help             | -                                                              | 查看Phalcon+命令行工具帮助文档    | -                |
--------------------------------------------------------------------------------------------------------------------------------------------