hunk.code_window:     async handler(args: yargs.Arguments) {
           try {
               const fileContent = EntityCreateCommand.getTemplate(args.name as any);
               const filename = args.name + ".ts";
               let directory = args.dir as string;
               // if directory is not set then try to open tsconfig and find default path there
               if (!directory) {
                   try {
                       const connectionOptionsReader = new ConnectionOptionsReader({
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:             let directory = args.dir as string | undefined;
  
hunk.file_path: src/commands/EntityCreateCommand.ts
hunk.type: replace
file: import {Column} from "../../../../../../../src/decorator/columns/Column";
  import {Entity} from "../../../../../../../src/decorator/entity/Entity";
  import {PrimaryGeneratedColumn} from "../../../../../../../src/decorator/columns/PrimaryGeneratedColumn";
  import {ManyToOne} from "../../../../../../../src/decorator/relations/ManyToOne";
  import {Teacher} from "./Teacher";
  
  @Entity()
  export class Specialization {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      name: string;
  
      @ManyToOne(type => Teacher, teacher => teacher.specializations)
      teacher: Teacher;
  
  }
  