From 4ce9f3bbeb0e114707932f116cade8ba4232c13f Mon Sep 17 00:00:00 2001 From: Rajinder Yadav Date: Fri, 1 Mar 2019 15:58:43 -0500 Subject: [PATCH] Build 0.3.0 --- src/commands/create-js-project.ts | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/create-js-project.ts b/src/commands/create-js-project.ts index 3cb8f5f..243020c 100644 --- a/src/commands/create-js-project.ts +++ b/src/commands/create-js-project.ts @@ -37,7 +37,7 @@ export function createJSProject( cmd: any, options: any ): void { break; } - case 'graphql': { + case 'gql': { console.log( 'DM-Tools is generating a TypeScript Apollo GraphQL Server project...' ); sh.cp( '-r', path.resolve( __dirname, '../../.templates/apollo-graphql-server/' ), `${ options.project }` ); break; diff --git a/src/main.ts b/src/main.ts index 4b0c0b0..0f1d92f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -35,7 +35,7 @@ cmd .version( `DevMentor Tools Project Generator v${ VERSION }`, '-v, --version' ) .usage( ' [options...]\n\n commands: new' ) .arguments( ' ' ) - .option( '-t, --type ', 'project types: glq, js, koa, node, ts, web' ) + .option( '-t, --type ', 'project types: gql, js, koa, node, ts, web' ) .option( '--e2e', 'end to end testing' ) .option( '-w, --web', 'simple static Web setup' ) .option( '--cpp [items]', 'C++ project', source_files )