diff --git a/src/IGenerationOptions.ts b/src/IGenerationOptions.ts index 62800e6..684494d 100644 --- a/src/IGenerationOptions.ts +++ b/src/IGenerationOptions.ts @@ -12,7 +12,7 @@ export default interface IGenerationOptions { convertCaseFile: "pascal" | "param" | "camel" | "none"; convertCaseEntity: "pascal" | "camel" | "none"; convertCaseProperty: "pascal" | "camel" | "none"; - convertEol: string; + convertEol: "LF" | "CRLF"; propertyVisibility: "public" | "protected" | "private" | "none"; lazy: boolean; activeRecord: boolean; diff --git a/src/index.ts b/src/index.ts index 6292a57..15e34c8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -531,7 +531,7 @@ async function useInquirer(options: options): Promise { defaultGenerationOptions.convertCaseFile }, { - name: "Change EOL to be \\n or \\r\\n", + name: "Use specific EOL character", value: "converteol", checked: false },