How to create scaffold for Sencha Touch 2.x application?

I installed the ST SDK tools, and when I do "sencha" on the command line, I see the following:

$ sencha
Sencha Command v2.0.0 Developer Preview
Copyright (c) 2011 Sencha Inc.


usage: sencha COMMAND [ARGS]


The available commands are:
   build            build a JSB project
   create bootstrapdata        generate boostrap data
   create jsb            generate a minimal JSB project for an app
   create manifest        generate classes manifest
   package            package your Touch web app into a native bundle
   slice theme            slice a custom theme images for IE


See 'sencha help COMMAND' for more information on a specific command.

But when I try to create bootstrapdata, it asks me about all the options.

$ sencha create bootstrapdata
usage: sencha create bootstrapdata [OPTIONS...]


 COMMAND: Generate Bootstrap Data


 DESCRIPTION:


   Generate boostrap data 
 OPTIONS:


 --core[=]value, -c[=]value (required)
   The list of all core package names, comma-separated, for example: 
   "foundation,core,dom" 


 --ignore[=][value], -i[=][value]
   The list of items to be ignored, comma-separated 


 --jsb[=]value, -j[=]value (required)
   The path to the framework jsb3 file 


 --output[=]value, -o[=]value (required)
   The file path to write bootstrap data to 


 --output-release[=][value], -r[=][value]
   The file path to write bootstrap data-release to 


 --platform[=]value, -p[=]value (required)
   The path to platform source directory 


 --src[=]value, -s[=]value (required)
   The path to the framework source directory

How can I use one command on the command line without requiring file paths and other "required" parameters to create the "Hello World" base application ST2.x?

Thank.

Edit1: Btw, what I'm trying to do is what Tommy Mainz did in his presentation at ST1.x at the ST 2010 conference .

+5
source share
2 answers

Sencha generate Sencha Touch 2 . Sencha - , ST2.

sencha create bootstrapdata JS. .

Sencha Touch Forums, .

+2

, http://sencha.com/x/6p . Command lib. :

./sencha generate app 'MyApp'

./

0

All Articles