Help info is printed all on one line instead of separate lines, making it difficult to read.
Expected Behavior
npx kysely-codegen --help prints the following
kysely-codegen [options]
--all Display all options.
--camel-case Use the Kysely CamelCasePlugin.
--dialect Set the SQL dialect. (values: [mysql, postgres, sqlite])
…
Actual Behavior
npx kysely-codegen --help instead prints the following
kysely-codegen [options] --all Display all options. --camel-case Use the Kysely CamelCasePlugin. --dialect Set the SQL dialect. (values: [mysql, postgres, sqlite]) …
Additional Details
It appears to be a regression that happened in b749a677e6bfd7370559767e57e4c69746898f94, where logger.info was replaced with console.info, but newlines weren't added.
Description
Help info is printed all on one line instead of separate lines, making it difficult to read.
Expected Behavior
npx kysely-codegen --help
prints the followingActual Behavior
npx kysely-codegen --help
instead prints the followingAdditional Details
It appears to be a regression that happened in b749a677e6bfd7370559767e57e4c69746898f94, where
logger.info
was replaced withconsole.info
, but newlines weren't added.