@@ -47,14 +47,14 @@ component extends="app" aliases="" {
4747 .options ( [
4848 {
4949 accessKey : 1 ,
50- display : " Modular (API/REST) Template - provide an "" api"" module with a "" v1"" sub-module within it" ,
51- value : " cbtemplate- rest-hmvc" ,
50+ display : " Modular (API/REST) Template - provides an "" api"" module with a "" v1"" sub-module within it" ,
51+ value : " rest-hmvc" ,
5252 selected : true
5353 },
5454 {
5555 accessKey : 2 ,
56- display : " Simple (API/REST) Template - proivdes api endpoints via the handlers/ folder" ,
57- value : " cbtemplate- rest"
56+ display : " Simple (API/REST) Template - provides api endpoints via the handlers/ folder" ,
57+ value : " rest"
5858 }
5959 ] )
6060 .required ()
@@ -74,60 +74,33 @@ component extends="app" aliases="" {
7474 .options ( [
7575 {
7676 accessKey : 1 ,
77- value : " cbtemplate-boxlang" ,
78- display : " BoxLang ColdBox Template - Default ColdBox App with BoxLang"
77+ value : " boxlang" ,
78+ display : " BoxLang ColdBox Template - Default ColdBox App with BoxLang" ,
79+ selected : true
7980 },
8081 {
8182 accessKey : 2 ,
82- value : " cbtemplate-supersimple " ,
83- display : " Super simple starting template - no modules, no config, no nothing "
83+ value : " modern " ,
84+ display : " Modern Template - Security-first CFML and BoxLang template with /app outside webroot "
8485 },
8586 {
8687 accessKey : 3 ,
87- value : " cbtemplate-advanced-script" ,
88- display : " Default Script based Coldbox App which uses cfconfig & .env settings" ,
89- selected : true
88+ value : " flat" ,
89+ display : " Flat Template - Traditional flat structure with everything in webroot"
9090 },
9191 {
9292 accessKey : 4 ,
93- value : " cbtemplate-elixir " ,
94- display : " Elixir Template - Advanced Script + ColdBox Elixir: Enable Webpack tasks for your ColdBox applications "
93+ value : " vite " ,
94+ display : " Vite Template - Traditional flat structure development with Vite, Vue 3, and Tailwind CSS "
9595 },
9696 {
9797 accessKey : 5 ,
98- value : " cbtemplate-modern" ,
99- display : " A modern ColdBox template with a modern approach to building apps"
100- },
101- {
102- accessKey : 6 ,
103- value : " cbtemplate-vite" ,
104- display : " A ColdBox template with ViteJS for modern web development"
98+ value : " supersimple" ,
99+ display : " Super Simple Template - Bare bones, minimal starting point"
105100 }
106101 ] )
107102 .required ()
108103 .ask ();
109-
110- if ( arguments .skeleton ! = " cbtemplate-simple" ) {
111- print .boldgreenline ( " " );
112- print .boldgreenline ( " This Coldbox Template uses cfconfig & .env "" dotenv"" " );
113- print .boldgreenline (
114- " ----------------------------------------------------------------------------------------"
115- );
116- print .boldgreenline ( " CFConfig is a module that creates a local settings file" );
117- print .greenline ( " in your project directory of all of the ColdFusion Admin Settings" );
118- print .greenline ( " Check out more details in the docs: https://cfconfig.ortusbooks.com/" );
119- print .boldgreenline (
120- " ----------------------------------------------------------------------------------------"
121- );
122- print .boldgreenline ( " .env is a module that creates a local variables that can be" );
123- print .greenline ( " used in many places such as .cfconfig.json, box.json, Coldbox.cfc, etc." );
124- print .greenline ( " You will see these used in the template in some of the files above" );
125- print .greenline ( " ex. "" ${DB_DATABASE}"" or getSystemSetting( "" APPNAME"" , "" Your app name here"" )" );
126- print .greenline ( " More info at https://github.com/commandbox-modules/commandbox-dotenv" );
127- print .boldgreenline (
128- " ----------------------------------------------------------------------------------------"
129- );
130- }
131104 }
132105 print .line ( " Creating your site..." ).toConsole ();
133106
0 commit comments