ZendFrame 命令行命令帮助 收藏 评论
2012年05月18日

Zend Framework Command Line Console Tool v1.11.10
Usage:

    zf [--global-opts] action-name [--action-opts] provider-name [--provider-opts] [provider parameters ...]


    Note: You may use "?" in any place of the above usage string to ask for more specific help information.

可以用?通配符显示相关更多信息!

    Example: "zf ? version" will list all available actions for the version provider.

Providers and their actions:

提供器及action.

  Version
    zf show version mode[=mini] name-included[=1]
    Note: There are specialties, use zf show version.? to get specific help on them.

  Config
    zf create config
    zf show config
    zf enable config
    Note: There are specialties, use zf enable config.? to get specific help on them.
    zf disable config
    Note: There are specialties, use zf disable config.? to get specific help on them.

  Phpinfo
    zf show phpinfo

  Manifest
    zf show manifest

  Profile
    zf show profile

  Project
    zf create project path name-of-profile file-of-profile
    zf show project
    Note: There are specialties, use zf show project.? to get specific help on them.

  Application
    zf change application.class-name-prefix class-name-prefix

  Model
    zf create model name module

  View
    zf create view controller-name action-name-or-simple-name module

  Controller
    zf create controller name index-action-included[=1] module

  Action
    zf create action name controller-name[=Index] view-included[=1] module

  Module
    zf create module name

  Form
    zf enable form module
    zf create form name module

  Layout
    zf enable layout
    zf disable layout

  DbAdapter
    zf configure db-adapter dsn section-name[=production]

  DbTable
    zf create db-table name actual-table-name module force-overwrite
    Note: There are specialties, use zf create db-table.? to get specific help on them.

  ProjectProvider
    zf create project-provider name actions


http://blog.webinno.cn/article/view/48

本文地址:http://blog.webinno.cn/article/view/48

发表于 @ 2012年05月18日 | 浏览2559次| 编辑 |评论(loading... ) | 分享到:QQ空间新浪微博腾讯微博微信

评论列表

发表评论