diff --git a/lib/commands/init.ts b/lib/commands/init.ts index 36984c0dd6..85eb86a785 100644 --- a/lib/commands/init.ts +++ b/lib/commands/init.ts @@ -2,9 +2,11 @@ export class ProjectInitCommand implements ICommand { public allowedParameters: ICommandParameter[] = []; public enableHooks = false; - constructor(private $projectInitService: IProjectInitService) { } + constructor(private $logger: ILogger, + private $projectInitService: IProjectInitService) { } public async execute(args: string[]): Promise { + this.$logger.warn("This command is deprecated and it will be removed in the next major release of NativeScript"); return this.$projectInitService.initialize(); } }