ExtJS

Sencha Cmd

Upgrading Sencha Cmd

$ sencha upgrade --check
$ sencha upgrade

$ sencha upgrade --check --beta
$ sencha upgrade --beta

Generating Your Application

$ sencha -sdk /path/to/sdk generate app MyApp /path/to/MyApp
$ sencha -sdk /home/omidraha/Tools/js/Sencha/Sencha\ Ext\ JS/ext-4.2.1.883/ generate app hello /home/omidraha/Prj/Sencha/ExtJS/hello

Building Your Application

$ sencha app build

Generating a Workspace

$ sencha generate workspace /path/to/workspace

Generating Pages

$ sencha -sdk /path/to/ext generate app ExtApp /path/to/workspace/extApp
$ sencha -sdk /path/to/touch generate app TouchApp /path/to/workspace/touchApp

Generate Local Packages

sencha generate package -type code foo

Then add “common” as a requirement to your application’s “app.json”:

{
        "name": "MyApp",
        "requires": [
                "foo"
        ]
}

Building The Package

$ sencha package build