@@ -20,10 +20,10 @@ if (args.length < 1) {
2020 console . error ( '' ) ;
2121 console . error ( 'Examples:' ) ;
2222 console . error ( ' npx create-net ls' ) ;
23- console . error ( ' npx create-net ls NetFrameworkTemplates ' ) ;
24- console . error ( ' npx create-net nextjs MyProject ' ) ;
25- console . error ( ' npx create-net NetFrameworkTemplates/web-netfx MyProject ' ) ;
26- console . error ( ' npx create-net nextjs (uses current directory name)' ) ;
23+ console . error ( ' npx create-net ls <organization> ' ) ;
24+ console . error ( ' npx create-net <template> ProjectName ' ) ;
25+ console . error ( ' npx create-net <organization>/<template> ProjectName ' ) ;
26+ console . error ( ' npx create-net <template> (uses current directory name)' ) ;
2727 process . exit ( 1 ) ;
2828}
2929
@@ -127,8 +127,7 @@ async function listTemplates(targetOrg) {
127127 } else {
128128 // List templates from default organizations
129129 organizations = [
130- { name : 'NetCoreTemplates' , title : '.NET Core Templates' } ,
131- { name : 'NetFrameworkTemplates' , title : '.NET Framework Templates' }
130+ { name : 'NetCoreTemplates' , title : '.NET Templates' } ,
132131 ] ;
133132 }
134133
@@ -165,10 +164,10 @@ async function listTemplates(targetOrg) {
165164 console . log ( ' npx create-net <org>/<repo> [ProjectName]' ) ;
166165 console . log ( ' npx create-net ls [org]' ) ;
167166 console . log ( '\n\x1b[1mExamples:\x1b[0m' ) ;
168- console . log ( ' npx create-net ls # List all templates' ) ;
169- console . log ( ' npx create-net ls NetFrameworkTemplates # List specific org templates' ) ;
170- console . log ( ' npx create-net nextjs MyProject # Create from NetCoreTemplates' ) ;
171- console . log ( ' npx create-net NetFrameworkTemplates/web-netfx MyApp # Create from specific org' ) ;
167+ console . log ( ' npx create-net ls # List all templates' ) ;
168+ console . log ( ' npx create-net ls <org> # List specific org templates' ) ;
169+ console . log ( ' npx create-net <template> ProjectName # Create from NetCoreTemplates' ) ;
170+ console . log ( ' npx create-net <org>/<template> ProjectName # Create from specific org' ) ;
172171
173172 } catch ( err ) {
174173 console . error ( 'Error listing templates:' , err . message ) ;
0 commit comments