作者:韩亚飞_yue31313_韩梦飞沙
QQ:313134555
D:\[sencha+phonegap]\MyMusic>sencha
Sencha Cmd v5.1.0.26
Sencha Cmd provides several categories ofcommands and some global switches. In
most cases, the first step is to generate anapplication based on a Sencha SDK
such as Ext JS or Sencha Touch:
Sencha Cmd提供几个类别的命令和一些全球开关。在 大多数情况下,第一步是生成一个应用程序基于Sencha SDK 例如Ext JS或Sencha Touch:
sencha -sdk /path/to/sdk generateapp MyApp /path/to/myapp
Sencha Cmd supports Ext JS 4.1.1a and higher andSencha Touch 2.1 and higher.
Sencha Cmd支持ExtJS 4.1.1a和更高,Sencha Touch 2.1和更高版本。
To get help on commands use the help command:
寻求帮助命令使用帮助命令:
sencha help generate app
For more information on using Sencha Cmd,consult the guides found here:
http://docs.sencha.com/cmd/
Options
* --beta, -be - Enable beta packagerepositories
* --cwd, -cw - Sets the directory fromwhich commands should execute
* --debug, -d - Sets log level to higherverbosity
* --info, -i - Sets log level to default
* --nologo, -n - Suppress the initialSencha Cmd version display
* --plain, -pl - enables plain loggingoutput (no highlighting)
* --quiet, -q - Sets log level towarnings and errors only
* --sdk-path, -sd - The location of theSDK to use for non-app commands
* --strict, -st - Treats warnings aserrors, exiingt with error if any warning
s are present
* --time, -ti - Display the executiontime after executing all commands
选项 *——β- -使β包存储库 *慢性消耗病的,连续波——集命令的目录应该执行 *——调试,d -将日志级别设置为更高的冗长 *——信息——我——将日志级别设置为默认 *——不带标识的,- n -抑制初始Sencha Cmd版本显示 *——平原,pl -使普通日志输出(没有高亮显示) *——安静,q -将日志级别设置为只警告和错误 *——sdk-path -标准差- SDK的位置使用这款命令 *——严格,圣-将警告视为错误,exiingt错误如果任何警告 年代存在 *——时间,ti -显示所有命令执行后的执行时间
Categories
* app - Perform various application buildprocesses
* compass - Wraps execution of compassfor sass compilation
* compile - Compile sources to produceconcatenated output and metadata
* cordova - Quick init Support forCordova
* fs - Utility commands to work withfiles
* generate - Generates models,controllers, etc. or an entire application
* manifest - Extract class metadata
* package - Manages local and remotepackages
* phonegap - Quick init support forPhoneGap
* repository - Manage local repositoryand remote repository connections
* theme - Commands for low-leveloperations on themes
* web - Manages a simple HTTP file server
类别 *应用-执行各种应用程序的构建过程 *罗盘-包装执行sass编译的指南针 *编译,编译源产生连接输出和元数据 *科尔多瓦-快速init支持科尔多瓦 * fs -实用工具命令文件 *生成,生成模型、控制器等或整个应用程序 *清单-提取类的元数据 *包-管理本地和远程包 * phonegap -快速init支持phonegap *库-管理本地存储库和远程存储库连接 *主题-命令低级操作的主题 * web——管理一个简单的HTTP文件服务器
Commands
* ant - Invoke Ant with helpfulproperties back to Sencha Cmd
* audit - Search from the current folderfor Ext JS frameworks and report thei
r license
* build - Builds a project from a legacyJSB3 file.
* config - Load a properties file or setsa configuration property
* help - Displays help for commands
* js - Executes arbitrary JavaScriptfile(s)
* upgrade - Upgrades Sencha Cmd
* which - Displays the path to thecurrent version of Sencha Cmd
命令 *ant -调用ant回到Sencha Cmd有用的属性 *审核-搜索当前文件夹的ExtJS框架和同事的报告 r许可证 *构建——构建一个项目从遗留JSB3文件。 *配置-加载一个属性文件或设置一个配置属性 *帮助——显示命令的帮助信息 * js -执行任意JavaScript文件(年代) *升级,升级Sencha Cmd *,显示当前版本的Sencha Cmd之路