2019-07-19 07:54 PM
I'm just getting back into this after taking a 2 year break. I vaguely remember you could scaffold new projects from the command line rather than using the Designer application. I couldn't find any docs on this, is it still possible to do or am I completely mistaken?
Solved! Go to Solution.
2019-07-21 11:47 PM
hi @Community member,
The "new" normal way of creating a TouchGFX project is through the Designer.
We are also shipping a command line tool which does exactly what you describe :)
it is called tgfx.exe and is placed in the same installation folder as the designer.
Here is a snippet of the "help" context from the new command:
'new' - Combines a user interface with an application template to create a new application
Expected usage: tgfx.exe new <options>
<options> available:
--ui=VALUE Gui package name
--at=VALUE At package name
--out=VALUE Output Directory
--prj=VALUE Project Name
There is just one small catch, if you want to create any other projects than an empty application for pc simulator, you have to use the Designer to first download the desired Application Template and UI packages.
/Anders
2019-07-21 11:47 PM
hi @Community member,
The "new" normal way of creating a TouchGFX project is through the Designer.
We are also shipping a command line tool which does exactly what you describe :)
it is called tgfx.exe and is placed in the same installation folder as the designer.
Here is a snippet of the "help" context from the new command:
'new' - Combines a user interface with an application template to create a new application
Expected usage: tgfx.exe new <options>
<options> available:
--ui=VALUE Gui package name
--at=VALUE At package name
--out=VALUE Output Directory
--prj=VALUE Project Name
There is just one small catch, if you want to create any other projects than an empty application for pc simulator, you have to use the Designer to first download the desired Application Template and UI packages.
/Anders
2019-07-25 03:58 PM
Seems like an acceptable catch - I do like the designer in general but this is great information. Thanks!